Skip to content

Commit

Permalink
Downgrade log message from error to warning in max_runtime
Browse files Browse the repository at this point in the history
When a realization is killed due to max_runtime, is it per instruction
from the user and should not be considered an error.
  • Loading branch information
berland committed Feb 11, 2025
1 parent f7ac8b4 commit 105f891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/scheduler/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async def _max_runtime_task(self) -> None:
)
assert self._scheduler._events is not None
await self._scheduler._events.put(timeout_event)
logger.error(
logger.warning(
f"Realization {self.iens} stopped due to MAX_RUNTIME={self.real.max_runtime} seconds"
)
self.returncode.cancel()
Expand Down

0 comments on commit 105f891

Please sign in to comment.