From aa117f30bd7ca7860786248c95450cc5d393df04 Mon Sep 17 00:00:00 2001 From: xjules Date: Fri, 20 Dec 2024 10:01:25 +0100 Subject: [PATCH] finished timeout explicit --- src/_ert/forward_model_runner/reporting/event.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/_ert/forward_model_runner/reporting/event.py b/src/_ert/forward_model_runner/reporting/event.py index 337a5050061..28c38d5c0a6 100644 --- a/src/_ert/forward_model_runner/reporting/event.py +++ b/src/_ert/forward_model_runner/reporting/event.py @@ -79,7 +79,10 @@ def __init__( self._done = threading.Event() self._ack_timeout = ack_timeout self._max_retries = max_retries - self._finished_event_timeout = finished_event_timeout or 60 + if finished_event_timeout is not None: + self._finished_event_timeout = finished_event_timeout + else: + self._finished_event_timeout = 60 def stop(self): self._event_queue.put(Event._sentinel)