Skip to content

[13.x] Pass WorkerOptions to Pausing/Resuming/Interrupted#60135

Merged
taylorotwell merged 2 commits into
laravel:13.xfrom
jackbayliss:13.x-pass-worker-options
May 15, 2026
Merged

[13.x] Pass WorkerOptions to Pausing/Resuming/Interrupted#60135
taylorotwell merged 2 commits into
laravel:13.xfrom
jackbayliss:13.x-pass-worker-options

Conversation

@jackbayliss
Copy link
Copy Markdown
Contributor

@jackbayliss jackbayliss commented May 14, 2026

Happy Friday!

This PR adds workerOptions to Pausing/Resuming/Interrupted events. It's typed, like the events.

I would like to see the --name of the worker that these events occur on which I can pull from the options.

This is very useful if queues are split over various workers .. this means I can pinpoint exactly what worker it was.

This also follows the WorkerStarting and Stopping events.. making them all align... slowly cause right now we see WorkerPausing.. but the question is... which worker? :D

@github-actions
Copy link
Copy Markdown

Thanks for submitting a PR!

Note that draft PRs are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@jackbayliss jackbayliss marked this pull request as ready for review May 15, 2026 15:01
@taylorotwell taylorotwell merged commit f3455c5 into laravel:13.x May 15, 2026
54 checks passed
@jackbayliss jackbayliss deleted the 13.x-pass-worker-options branch May 15, 2026 15:51
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