Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enforce ordered popping of jobs off the database queue #8

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

ghindle
Copy link
Contributor

@ghindle ghindle commented May 3, 2020

When jobs are run from the queue when using the database connection you would have thought it would be FIFO, however, as we only order by available_at, this consistency isn't kept. Adding an additional sort on id fixes this problem.

Copy link
Member

@ianmjones ianmjones left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Thanks @ghindle!

@ianmjones ianmjones merged commit e790043 into deliciousbrains:master Feb 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants