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

Deploy Script Improvement #179

Open
sivkovic opened this issue Apr 6, 2021 · 0 comments
Open

Deploy Script Improvement #179

sivkovic opened this issue Apr 6, 2021 · 0 comments

Comments

@sivkovic
Copy link
Collaborator

sivkovic commented Apr 6, 2021

Modify the deploy script so celery can gracefully shutdown.
We need a better way to restart celery. What's been happening is that the Worker will not shutdown gracefully and leave a PID so that it can no longer be started. The beat will restart and continue to queue jobs. When the worker is finally restarted, all of the beat jobs will run at once. This means that check_status will run N times, milliseconds apart, same with submit_pending_jobs, etc.

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

No branches or pull requests

1 participant