Skip to content

Commit

Permalink
backport two fixes from #5712
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Jan 16, 2024
1 parent b20a39c commit 67e417b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions cylc/flow/task_events_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ def _process_message_check(

if (
itask.state(TASK_STATUS_WAITING)
and itask.tdef.run_mode == 'live'
and
(
(
Expand Down
5 changes: 4 additions & 1 deletion cylc/flow/task_job_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,10 @@ def _simulation_submit_task_jobs(self, itasks, workflow):
itask.waiting_on_job_prep = False
itask.submit_num += 1
self._set_retry_timers(itask)
itask.platform = {'name': 'SIMULATION'}
itask.platform = {
'name': 'SIMULATION',
'submission retry delays': [1]
}
itask.summary['job_runner_name'] = 'SIMULATION'
itask.summary[self.KEY_EXECUTE_TIME_LIMIT] = (
itask.tdef.rtconfig['job']['simulated run length']
Expand Down

0 comments on commit 67e417b

Please sign in to comment.