Skip to content

[13.x] Add the timeout in JobTimedOut - #61060

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
jackbayliss:13.x-add-timeout-to-job-timed-out
Aug 6, 2026
Merged

[13.x] Add the timeout in JobTimedOut#61060
taylorotwell merged 1 commit into
laravel:13.xfrom
jackbayliss:13.x-add-timeout-to-job-timed-out

Conversation

@jackbayliss

@jackbayliss jackbayliss commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

We can listen to this event and access the job, but the timeout may also come from the worker.

Ie in cases such as queue:work --queue=notifications,emails,logs --timeout=120

This means we may see loads of JobTimedOut events and assume it's the job, when it's actually the worker.

This PR adds the timeout in seconds to the event so we can see easier if it was the worker, the job etc.

I haven't added a test as it's within a signal, rest assured I'll check the dev branch tho if this is accepted 🤓

Thanks man

@github-actions

github-actions Bot commented Aug 5, 2026

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 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

The redis cluster tests are flaky, but, this is good to review.

@jackbayliss
jackbayliss marked this pull request as ready for review August 5, 2026 17:45
@jackbayliss jackbayliss changed the title [13.x] Add the timeout exceeded in JobTimedOut [13.x] Add the timeout in JobTimedOut Aug 5, 2026
@taylorotwell
taylorotwell merged commit deac04f into laravel:13.x Aug 6, 2026
53 of 55 checks passed
@jackbayliss
jackbayliss deleted the 13.x-add-timeout-to-job-timed-out branch August 6, 2026 22:11
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