-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove locks #3017
Remove locks #3017
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
1407652
to
75cca9a
Compare
break | ||
|
||
time.monotonic() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a no op?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
@@ -75,7 +75,7 @@ def run_jobs() -> None: | |||
cmd_beat = [ | |||
"celery", | |||
"-A", | |||
"danswer.background.celery.versioned_apps.beat", | |||
"danswer.background.celery.apps.beat", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should still use the versioned apps stub for consistency, but just point it at the single beat app. Don't want someone to have to think about what entrypoint to use for the celery apps.
58c9f88
to
8ff8a88
Compare
* add k8s configs * k * update config * k * improved timeouts + worker configs * improve workers
* add validated + reformatted dynamic beat acquisition * initial removal of locks! * minor * remove unecessary locks * update * nit * k * K8s jobs (#3033) * add k8s configs * k * update config * k * improved timeouts + worker configs * improve workers
* add validated + reformatted dynamic beat acquisition * validate * reorg * nit * address comments * update * typing * ensure versioned apps capture * Remove locks (#3017) * add validated + reformatted dynamic beat acquisition * initial removal of locks! * minor * remove unecessary locks * update * nit * k * K8s jobs (#3033) * add k8s configs * k * update config * k * improved timeouts + worker configs * improve workers
Description
[Provide a brief description of the changes in this PR]
How Has This Been Tested?
[Describe the tests you ran to verify your changes]
Accepted Risk (provide if relevant)
N/A
Related Issue(s) (provide if relevant)
N/A
Mental Checklist:
Backporting (check the box to trigger backport action)
Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.