diff --git a/src/ert/scheduler/scheduler.py b/src/ert/scheduler/scheduler.py index 8227b8395f7..0ce7fc1b3dc 100644 --- a/src/ert/scheduler/scheduler.py +++ b/src/ert/scheduler/scheduler.py @@ -276,6 +276,7 @@ async def execute( # does internalization at a time forward_model_ok_lock = asyncio.Lock() for iens, job in self._jobs.items(): + await asyncio.sleep(0) if job.state != JobState.ABORTED: self._job_tasks[iens] = asyncio.create_task( job.run(sem, forward_model_ok_lock, self._max_submit),