change timeout to 15s (speed up launching)
paulfantom committed
Jul 19, 2016 at 03:05 UTC
360f990db4e3faa87f6d0f367b879a51273b7aa0
1 file changed
+1
-1
python.d/python_modules/base.py
+1
-1
@@ -565,7 +565,7 @@ class SocketService(SimpleService):
565
data = ""
566
while True:
567
try:
568
- ready_to_read, _, in_error = select.select([self._sock], [], [], 60)
568
+ ready_to_read, _, in_error = select.select([self._sock], [], [], 15)
569
except Exception as e:
570
self.debug("SELECT", str(e))
571
self._disconnect()