Skip to content

Commit

Permalink
Raised the zeromq timeout [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
micheles committed Nov 5, 2024
1 parent fe414aa commit 99c5bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openquake/baselib/zeromq.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class Socket(object):
"""
# NB: the timeout has to be large since starting a workerpool can be
# slow due to numba compiling everything, so you have to wait
def __init__(self, end_point, socket_type, mode, timeout=30):
def __init__(self, end_point, socket_type, mode, timeout=60):
assert socket_type in (zmq.REP, zmq.REQ, zmq.PULL, zmq.PUSH)
assert mode in ('bind', 'connect'), mode
if mode == 'bind':
Expand Down

0 comments on commit 99c5bae

Please sign in to comment.