Skip to content

Commit

Permalink
Increase Event reporter timeout after sucesful Finish
Browse files Browse the repository at this point in the history
For the sake of heavy load when using LOCAL_DRIVER we set the default timeout to 10 minutes since forward model can be finished but not all the events were sent yet.

Co-authored-by: Lars Evje <[email protected]>
  • Loading branch information
xjules and larsevj committed Jan 14, 2025
1 parent c43f97f commit 0d9c178
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 @@ -82,7 +82,10 @@ def __init__(
if finished_event_timeout is not None:
self._finished_event_timeout = finished_event_timeout
else:
self._finished_event_timeout = 60
# for the sake of heavy load when using LOCAL_DRIVER
# we set the default timeout to 10 minutes since forward model
# can be finished but not all the events were sent yet
self._finished_event_timeout = 600

def stop(self):
self._event_queue.put(Event._sentinel)
Expand Down

0 comments on commit 0d9c178

Please sign in to comment.