Skip to content

[13.x] Adjust creationTimeOfOldestPendingJob for DatabaseQueue - #61101

Draft
jackbayliss wants to merge 1 commit into
laravel:13.xfrom
jackbayliss:13.x-adjust-creationTimeOfOldestPendingJob
Draft

[13.x] Adjust creationTimeOfOldestPendingJob for DatabaseQueue#61101
jackbayliss wants to merge 1 commit into
laravel:13.xfrom
jackbayliss:13.x-adjust-creationTimeOfOldestPendingJob

Conversation

@jackbayliss

@jackbayliss jackbayliss commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Eyes were crusin' and noticed this.

This should be created_at, not available_at

If a job is set as delayed, the available_at is set in the future, so it's not when it actually was created. This matches Redis then.

The docblock specifies Get the creation timestamp of the oldest pending job

I targeted 13.x as feels like a bug fix, granted this could break some tests so I can move it to 14.x if u prefer

Added a test too.

TLDR is this matches Redis now..

@github-actions

github-actions Bot commented Aug 7, 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.

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.

1 participant