Skip to content

Comments

[12.x] add backoff to JobReleasedAfterException event#58414

Merged
taylorotwell merged 3 commits intolaravel:12.xfrom
jackbayliss:12.x-add-backoff-to-job-released
Jan 19, 2026
Merged

[12.x] add backoff to JobReleasedAfterException event#58414
taylorotwell merged 3 commits intolaravel:12.xfrom
jackbayliss:12.x-add-backoff-to-job-released

Conversation

@jackbayliss
Copy link
Contributor

@jackbayliss jackbayliss commented Jan 18, 2026

Jobs and queues can have a specific backoff delay - including it in the event allows us to track the actual delay used without needing to track code / infra changes etc. ie just captures what actually happened at runtime.

This is useful when its set via the worker options or via a job - (avoids tapping into the job to access the backoff / delay) for metrics / logging etc.

Included a test as didn't see one! (will probs pull the test out if this isnt accepted)

I've defaulted it to null incase anyone is overriding or extending it etc - to avoid any b/c but feel free to adjust.

Happy to target 13.x if you prefer

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's 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 January 18, 2026 00:11
@taylorotwell taylorotwell merged commit 9e8677f into laravel:12.x Jan 19, 2026
72 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