summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-09 10:31:41 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-09 10:46:06 +0100
commit828f616d1a289487a3f145e0d2e403ec20284a1e (patch)
tree357d87f30e37364791e19ba9384f3dbb3631f830 /src/conf_mode
parentc49922accf5793f8eb750d51883c6a9458c11c31 (diff)
downloadvyos-1x-828f616d1a289487a3f145e0d2e403ec20284a1e.tar.gz
vyos-1x-828f616d1a289487a3f145e0d2e403ec20284a1e.zip
snmp: T1931: shorten file read timeout to 10ms
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/snmp.py2
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: