Increase poll timeout

This commit is contained in:
Oleksii Shevchuk 2017-03-16 17:51:48 +02:00
parent cdcb4d19af
commit e46bf4ff93
1 changed files with 2 additions and 2 deletions

View File

@ -521,12 +521,12 @@ class DnsCommandServer(object):
self.tcp_server.logger = DNSLogger(log='log_error',prefix=False) self.tcp_server.logger = DNSLogger(log='log_error',prefix=False)
self.udp_server_thread = Thread( 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.udp_server_thread.daemon = True
self.tcp_server_thread = Thread( 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 self.tcp_server_thread.daemon = True