Skip to content

Add support for --queue option to scout:queue-import #932

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

Merged
merged 4 commits into from
Jul 21, 2025

Conversation

mason-rogers
Copy link
Contributor

This PR adds a --queue option to the newly added scout:queue-import command.
This option is useful for performing huge re-indexes where we do not want to disrupt the normal scout queue with thousands of jobs before new items are indexed.

Usage

php artisan scout:queue "App\Models\Post" --queue=scout-reindex

@taylorotwell taylorotwell merged commit 474974c into laravel:10.x Jul 21, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants