Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Feb 2, 2022
1 parent ef23652 commit 24b7d2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/flow/task_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def release_runahead_tasks(self):

# At restart all tasks are runahead-limited but finished and manually
# triggered tasks (incl. --start-task's) can be released immediately.
runahead_limit_point = self.compute_runahead()
for itask in (
itask
for itask in self.get_tasks()
Expand All @@ -251,10 +252,9 @@ def release_runahead_tasks(self):
)
or itask.is_manual_submit
):
self.release_runahead_task(itask)
self.release_runahead_task(itask, runahead_limit_point)
released = True

runahead_limit_point = self.compute_runahead()
if not runahead_limit_point:
return released

Expand Down

0 comments on commit 24b7d2c

Please sign in to comment.