]> arthur.barton.de Git - netdata.git/commitdiff
Update base.py
authorPaweł Krupa <paulfantom@gmail.com>
Sat, 20 Aug 2016 20:08:39 +0000 (22:08 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Aug 2016 20:08:39 +0000 (22:08 +0200)
Lower SocketService timeout

python.d/python_modules/base.py

index 324d3e591c14958769ece5e4e741e7a26c4268f3..c2bbed2a572cc6011f0df1cc13ddef3339caa53a 100644 (file)
@@ -599,7 +599,7 @@ class SocketService(SimpleService):
         data = ""
         while True:
             try:
-                ready_to_read, _, in_error = select.select([self._sock], [], [], 15)
+                ready_to_read, _, in_error = select.select([self._sock], [], [], 5)
             except Exception as e:
                 self.debug("SELECT", str(e))
                 self._disconnect()