worker: increase send_timeout (Windows can be really slow)

This commit is contained in:
Sebastien Bourdeauducq 2016-07-03 12:18:34 +08:00
parent 6ee0f65b12
commit 4c8a8357b0

View File

@ -41,7 +41,7 @@ def log_worker_exception():
class Worker:
def __init__(self, handlers=dict(), send_timeout=2.0):
def __init__(self, handlers=dict(), send_timeout=10.0):
self.handlers = handlers
self.send_timeout = send_timeout