commit becfe13df270908a4f8fa946b7e35b0ae94e55ae
parent add9665584d6445b7b09061aa75acf5f429beec3
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 7 Dec 2015 18:42:12 +0100
decrease daemon timeout
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/daemon.py b/lib/daemon.py
@@ -67,7 +67,7 @@ class Daemon(DaemonThread):
host = config.get('rpchost', 'localhost')
port = config.get('rpcport', 7777)
self.server = SimpleJSONRPCServer((host, port), requestHandler=RequestHandler, logRequests=False)
- self.server.timeout = 1.0
+ self.server.timeout = 0.1
for cmdname in known_commands:
self.server.register_function(getattr(self.cmd_runner, cmdname), cmdname)
self.server.register_function(self.run_cmdline, 'run_cmdline')