Skip to content

Commit

Permalink
finished timeout explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Dec 20, 2024
1 parent 5c525b9 commit aa117f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/_ert/forward_model_runner/reporting/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aa117f3

Please sign in to comment.