Skip to content

Correctly order run_after tasks #154

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2025
Merged

Conversation

RealOrangeOne
Copy link
Owner

As spotted by @eviljeff in #15, tasks with a run_after were being ordered incorrectly. With all other things equal, older tasks should come first (meaning they'll more likely to be run closer to their run_after date)

@RealOrangeOne RealOrangeOne added the database-backend Issues relating to the database backend label Apr 27, 2025
@RealOrangeOne RealOrangeOne merged commit 80833b9 into master Apr 27, 2025
63 checks passed
@RealOrangeOne RealOrangeOne deleted the fix-db-task-ordering branch April 27, 2025 16:40
@jonatron jonatron mentioned this pull request Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database-backend Issues relating to the database backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant