Skip to content

Commit

Permalink
add get methods to allow for lack of default submission time limit
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Jan 17, 2024
1 parent 69b904a commit 4682d4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/flow/task_job_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -979,8 +979,8 @@ def _set_retry_timers(
rtconfig = itask.tdef.rtconfig

submit_delays = (
rtconfig['submission retry delays']
or itask.platform['submission retry delays']
rtconfig.get('submission retry delays', [])
or itask.platform.get('submission retry delays', [])
)

for key, delays in [
Expand Down

0 comments on commit 4682d4c

Please sign in to comment.