From 99c5bae38a0bcbe9a6f58a344b887c715b511b16 Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Tue, 5 Nov 2024 05:26:33 +0100 Subject: [PATCH] Raised the zeromq timeout [ci skip] --- openquake/baselib/zeromq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openquake/baselib/zeromq.py b/openquake/baselib/zeromq.py index 8feac1825681..849e1d856a05 100644 --- a/openquake/baselib/zeromq.py +++ b/openquake/baselib/zeromq.py @@ -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':