]> arthur.barton.de Git - netdata.git/commitdiff
change timeout to 15s (speed up launching)
authorpaulfantom <paulfantom@gmail.com>
Tue, 19 Jul 2016 01:05:50 +0000 (03:05 +0200)
committerpaulfantom <paulfantom@gmail.com>
Tue, 19 Jul 2016 01:05:50 +0000 (03:05 +0200)
python.d/python_modules/base.py

index 0a4653c6d92bd65eee2fc388c64b212b241014dd..e863967157b41aa4c4f8596ecac04c49d4bcaacc 100644 (file)
@@ -565,7 +565,7 @@ class SocketService(SimpleService):
         data = ""
         while True:
             try:
-                ready_to_read, _, in_error = select.select([self._sock], [], [], 60)
+                ready_to_read, _, in_error = select.select([self._sock], [], [], 15)
             except Exception as e:
                 self.debug("SELECT", str(e))
                 self._disconnect()