From e46bf4ff93166fbccc5b46de24758fa76195ef1f Mon Sep 17 00:00:00 2001
From: Oleksii Shevchuk
Date: Thu, 16 Mar 2017 17:51:48 +0200
Subject: [PATCH] Increase poll timeout
---
pupy/network/lib/picocmd/server.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pupy/network/lib/picocmd/server.py b/pupy/network/lib/picocmd/server.py
index e2b42633..19f17925 100644
--- a/pupy/network/lib/picocmd/server.py
+++ b/pupy/network/lib/picocmd/server.py
@@ -521,12 +521,12 @@ class DnsCommandServer(object):
self.tcp_server.logger = DNSLogger(log='log_error',prefix=False)
self.udp_server_thread = Thread(
- target=self.udp_server.serve_forever, kwargs={ 'poll_interval': 5000 }
+ target=self.udp_server.serve_forever, kwargs={ 'poll_interval': 50000 }
)
self.udp_server_thread.daemon = True
self.tcp_server_thread = Thread(
- target=self.tcp_server.serve_forever, kwargs={ 'poll_interval': 5000 }
+ target=self.tcp_server.serve_forever, kwargs={ 'poll_interval': 50000 }
)
self.tcp_server_thread.daemon = True