Skip to content

Commit

Permalink
Update queue info in trigger help.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Dec 10, 2024
1 parent 00f9c39 commit bdbcaa0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 9 additions & 5 deletions cylc/flow/network/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -2216,12 +2216,16 @@ class Meta:
Manually trigger tasks, even in a paused workflow.
Triggering a task that is not yet queued will queue it.
Triggering a queued task runs it immediately.
Queues release tasks to run when their active task count
drops below the queue limit. So, depending on the task count, you
may need to trigger a task twice to make it run immediately.
Cylc queues restrict the number of jobs that can be active
(submitted or running) at once. They release tasks to run
when their active task count drops below the queue limit.
So, depending on the active task count, you may need to
trigger a task twice to make it run immediately.
Attempts to trigger active tasks will be ignored.
Valid for: paused, running workflows.
''')
Expand Down
8 changes: 4 additions & 4 deletions cylc/flow/scripts/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
Triggering a queued task runs it immediately.
Queues release tasks to run when their active task count drops below the queue
limit. So, depending on the task count, you may need to trigger a task twice
to make it run immediately.
Cylc queues restrict the number of jobs that can be active (submitted or
running) at once. They release tasks to run when their active task count
drops below the queue limit.
Attempts to trigger active tasks (submitted or running) will be ignored.
Attempts to trigger active tasks will be ignored.
Examples:
# trigger task foo in cycle 1234 in test
Expand Down

0 comments on commit bdbcaa0

Please sign in to comment.