Skip to content

Commit

Permalink
Merge pull request #581 from bencroker/patch-23
Browse files Browse the repository at this point in the history
Fix warning text
  • Loading branch information
AugustMiller authored Mar 28, 2024
2 parents b1a60e9 + f073570 commit ece9005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/4.x/extend/queue-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Also note that we’re explicitly ordering by `id`—this can help avoid skipped
Batched jobs can also define a default `$batchSize` that is appropriate for the workload. The batch size is not a guaranteed value, but a target when Craft spawns the next job—it will keep track of memory usage and _may_ stop short, scheduling the next batch to resume where it left off.

::: warning
Batched jobs **must** be pushed using <craft4:craft\helpers\Queue::push()>, or `delay` and `ttr` settings may be lost for subsequent batches.
Batched jobs **must** be pushed using <craft4:craft\helpers\Queue::push()>, or `priority` and `ttr` settings may be lost for subsequent batches.
:::

## Adding Your Job to the Queue
Expand Down

0 comments on commit ece9005

Please sign in to comment.