From 55d786771ffb9fe932b95df617060761c13c080f Mon Sep 17 00:00:00 2001 From: xjules Date: Tue, 14 Jan 2025 10:37:20 +0100 Subject: [PATCH] Increase Event reporter timeout after sucesful Finish 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 --- 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 28c38d5c0a6..65534476f6a 100644 --- a/src/_ert/forward_model_runner/reporting/event.py +++ b/src/_ert/forward_model_runner/reporting/event.py @@ -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)