From becfe13df270908a4f8fa946b7e35b0ae94e55ae Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 7 Dec 2015 18:42:12 +0100 Subject: [PATCH] decrease daemon timeout --- lib/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/daemon.py b/lib/daemon.py index 74ea86547..dcb91d4d2 100644 --- 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')