-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update local celery script #2035
Conversation
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.
LGTM 🎉
README.md
Outdated
``` | ||
scripts/run_celery_beat.sh | ||
``` | ||
`make run-celery-beat-local` |
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.
It's great to mention the make target instead. As these are one more level of abstraction, we could even just have a one target named make run-celeries-local
, as it doesn't have to be a one to one mapping with the actual scripts but rather intended usage (run celery setup locally).
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.
hrm, running both the beat and celery workers with one make command? I didn't think that would work, but admittedly didn't try! I shall see!
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.
oh wow, we can just add "--beat" to the worker script. That was easy.
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.
LGTM, merci!
I left a comment on potential improvement (on top of the improvement in this PR) but it's outside the scope of this change.
Clearing approvals since I changed the scripts. |
code changed
Summary | Résumé
Update README with local celery infoLocally, have the celery worker also run beat. Update the documentation accordingly.
Test instructions | Instructions pour tester la modification
make run-celery-local