Skip to content

Commit 6196aaf

Browse files
committedFeb 16, 2016
master/worker: increase timeouts. Windows VMs can be really slow.
1 parent f0e2599 commit 6196aaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎artiq/master/worker.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def log_worker_exception():
4141

4242

4343
class Worker:
44-
def __init__(self, handlers=dict(), send_timeout=1.0):
44+
def __init__(self, handlers=dict(), send_timeout=2.0):
4545
self.handlers = handlers
4646
self.send_timeout = send_timeout
4747

@@ -94,7 +94,7 @@ async def _create_process(self, log_level):
9494
finally:
9595
self.io_lock.release()
9696

97-
async def close(self, term_timeout=1.0):
97+
async def close(self, term_timeout=2.0):
9898
"""Interrupts any I/O with the worker process and terminates the
9999
worker process.
100100

0 commit comments

Comments
 (0)