Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the queue option for Artisan Commands #6484

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

<div class="content-list" markdown="1">
- [PHP 7.3.0 Required](#php-7.3.0-required)
- [The `queue` option in Artisan Commands](#queue-option-artisan-commands)
- [Failed Jobs Table Batch Support](#failed-jobs-table-batch-support)
- [Maintenance Mode Updates](#maintenance-mode-updates)
- [The `php artisan down --message` Option](#artisan-down-message)
Expand Down Expand Up @@ -243,6 +244,15 @@ For consistency with other dispatching methods, the `allOnQueue()` and `allOnCon

Note that this change only affects code using the `withChain` method. The `allOnQueue()` and `allOnConnection()` are still available when using the global `dispatch()` helper.

<a name="queue-option-artisan-commands"></a>
#### The `queue` option on Artisan Commands

**Likelihood Of Impact: Medium**

While `queue` was an argument when calling Artisan commands in previous releases of Laravel, it's now an option. You should use it as option instead.

queue clear --queue=default

<a name="failed-jobs-table-batch-support"></a>
#### Failed Jobs Table Batch Support

Expand Down