forked from M-Labs/artiq
worker: increase send_timeout (Windows can be really slow)
This commit is contained in:
parent
e116d756b5
commit
bf3c3cdfd8
|
@ -41,7 +41,7 @@ def log_worker_exception():
|
||||||
|
|
||||||
|
|
||||||
class Worker:
|
class Worker:
|
||||||
def __init__(self, handlers=dict(), send_timeout=2.0):
|
def __init__(self, handlers=dict(), send_timeout=10.0):
|
||||||
self.handlers = handlers
|
self.handlers = handlers
|
||||||
self.send_timeout = send_timeout
|
self.send_timeout = send_timeout
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue