default daemon timeout after 5 minutes

This commit is contained in:
ThomasV 2014-07-25 17:32:31 +02:00
parent 191520f064
commit 5e47d1a635
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class NetworkServer:
self.socket.settimeout(1)
self.running = False
# daemon terminates after period of inactivity
self.timeout = config.get('daemon_timeout', 60)
self.timeout = config.get('daemon_timeout', 5*60)
self.lock = threading.RLock()
# each GUI is a client of the daemon