Skip to content
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

Simplify & fix sorting of task queue for services #872

Merged
merged 1 commit into from
Dec 21, 2024
Merged

Simplify & fix sorting of task queue for services #872

merged 1 commit into from
Dec 21, 2024

Conversation

bennybp
Copy link
Contributor

@bennybp bennybp commented Dec 21, 2024

Description

This simplifies the logic where service dependencies inherit the parent service's create_on as a sort date. Now it doesn't involve that pretty gnarly query in exchange for not handling very rare edge cases where a dependency is part of multiple services.

Also fixes a very dumb mistake - the default value of the sort_date in the task queue should be a function, not a value.

Status

  • Code base linted
  • Ready to go

@bennybp bennybp merged commit 011be51 into main Dec 21, 2024
15 checks passed
@bennybp bennybp deleted the svc_sort branch December 21, 2024 20:51
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