Skip to content

Commit

Permalink
master/worker: increase timeouts. Windows VMs can be really slow.
Browse files Browse the repository at this point in the history
sbourdeauducq committed Feb 16, 2016
1 parent f0e2599 commit 6196aaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artiq/master/worker.py
Original file line number Diff line number Diff line change
@@ -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 @@ async def _create_process(self, log_level):
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.

0 comments on commit 6196aaf

Please sign in to comment.