diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-09 10:31:41 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-09 10:46:06 +0100 |
commit | 828f616d1a289487a3f145e0d2e403ec20284a1e (patch) | |
tree | 357d87f30e37364791e19ba9384f3dbb3631f830 /src | |
parent | c49922accf5793f8eb750d51883c6a9458c11c31 (diff) | |
download | vyos-1x-828f616d1a289487a3f145e0d2e403ec20284a1e.tar.gz vyos-1x-828f616d1a289487a3f145e0d2e403ec20284a1e.zip |
snmp: T1931: shorten file read timeout to 10ms
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/snmp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py index eea907705..6cccf2032 100755 --- a/src/conf_mode/snmp.py +++ b/src/conf_mode/snmp.py @@ -746,7 +746,7 @@ def apply(snmp): snmpReady = False while not snmpReady: while not os.path.exists(config_file_user): - sleep(1) + sleep(0.1) with open(config_file_user, 'r') as f: for line in f: |