From 828f616d1a289487a3f145e0d2e403ec20284a1e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 9 Feb 2020 10:31:41 +0100 Subject: snmp: T1931: shorten file read timeout to 10ms --- src/conf_mode/snmp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3