Skip to content

Commit

Permalink
[11.x] Add dispatching without delay section (#9888)
Browse files Browse the repository at this point in the history
* [11.x] Add dispatching without delay section

* formatting

* word

* formatting

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
KennedyTedesco and taylorotwell authored Sep 13, 2024
1 parent ce657e9 commit afbf2ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,10 @@ If you would like to specify that a job should not be immediately available for
}
}

In some cases, jobs may have a default delay configured. If you need to bypass this delay and dispatch a job for immediate processing, you may use the `withoutDelay` method:

ProcessPodcast::dispatch($podcast)->withoutDelay();

> [!WARNING]
> The Amazon SQS queue service has a maximum delay time of 15 minutes.
Expand Down

0 comments on commit afbf2ca

Please sign in to comment.