Skip to content

docs: clarify queue timeout and retry behavior - #1290

Merged
dati18 merged 1 commit into
mainfrom
ollie-add-job-config-comments
Oct 14, 2026
Merged

dati18 merged 1 commit into
mainfrom
ollie-add-job-config-comments

Conversation

@outdooracorn

Copy link
Copy Markdown
Member

Document how job-level settings override queue-worker defaults and explain the required relationship between job timeouts and retry_after.

The 'retry_after' => 100, value in config/queue.php should be changed in a follow-up commit to be greater than the longest job timeout.

Bug: T440406


Stack created with GitHub Stacks CLI • Give Feedback 💬

@outdooracorn
outdooracorn added this pull request to stack #1291 October 6, 2026 21:49
@outdooracorn outdooracorn self-assigned this Oct 8, 2026
Comment thread config/horizon.php
Comment on lines +198 to +199
// A job's `$timeout` property takes precedence over this default.
// https://laravel.com/framework/docs/11.x/queues#timeout

@outdooracorn outdooracorn Oct 8, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the Laravel 12.x Horizon docs, I don't think this is correct. Seems like the Horizon timeout is separate from the Job timeout. Either something has changed between 11.x and 12.x or the documentation has been improved and I got this wrong first time round.

I'll investigate further and update.

@dati18
dati18 force-pushed the ollie-add-job-config-comments branch from ff96abb to a00e8bf Compare October 14, 2026 13:11
Base automatically changed from ollie-use-job-base-class to main October 14, 2026 13:20
Document how job-level settings override queue-worker defaults and explain the required relationship between job timeouts and retry_after.

The `'retry_after' => 100,` value in `config/queue.php` should be changed in a follow-up commit to be greater than the longest job timeout.

Bug: T440406
@dati18
dati18 force-pushed the ollie-add-job-config-comments branch from a00e8bf to 1e64e9c Compare October 14, 2026 13:20
@dati18
dati18 merged commit 12e38c8 into main Oct 14, 2026
4 checks passed
@dati18
dati18 deleted the ollie-add-job-config-comments branch October 14, 2026 13:25
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