Skip to content

Simplify & fix sorting of task queue for services#872

Merged
bennybp merged 1 commit into
mainfrom
svc_sort
Dec 21, 2024
Merged

Simplify & fix sorting of task queue for services#872
bennybp merged 1 commit into
mainfrom
svc_sort

Conversation

@bennybp

@bennybp bennybp commented Dec 21, 2024

Copy link
Copy Markdown
Contributor

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
@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