Skip to content

Commit

Permalink
Fix handling of pre-prep tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Sep 3, 2024
1 parent 574361b commit 37b6593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/flow/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ def release_queued_tasks(self) -> bool:
# don't release queued tasks, finish processing preparing tasks
pre_prep_tasks = [
itask for itask in self.pool.get_tasks()
if itask.state(TASK_STATUS_PREPARING)
if itask.waiting_on_job_prep
]

# Return, if no tasks to submit.
Expand Down

0 comments on commit 37b6593

Please sign in to comment.