Browse Source

default daemon timeout after 5 minutes

283
ThomasV 11 years ago
parent
commit
5e47d1a635
  1. 2
      lib/daemon.py

2
lib/daemon.py

@ -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

Loading…
Cancel
Save