From 6196aaf2f59399eefba53671735354a93ed18878 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 16 Feb 2016 09:44:50 +0100 Subject: [PATCH] master/worker: increase timeouts. Windows VMs can be really slow. --- artiq/master/worker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/master/worker.py b/artiq/master/worker.py index 668a68c91..da591b140 100644 --- a/artiq/master/worker.py +++ b/artiq/master/worker.py @@ -41,7 +41,7 @@ def log_worker_exception(): class Worker: - def __init__(self, handlers=dict(), send_timeout=1.0): + def __init__(self, handlers=dict(), send_timeout=2.0): self.handlers = handlers self.send_timeout = send_timeout @@ -94,7 +94,7 @@ class Worker: finally: self.io_lock.release() - async def close(self, term_timeout=1.0): + async def close(self, term_timeout=2.0): """Interrupts any I/O with the worker process and terminates the worker process.