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
Running one-off task stops all periodical tasks #150
Comments
Which version of django-celery-beat is affected? |
@putsi I have seen this as well. It is caused by
Not handling one of task correctly, and disabling the clocked schedule but not the one of task. Once in the this state the task is never due and blocks all other tasks during the tick. I think #341 will fix this. @auvipy I am seeing this on 2.0.0 |
i request you to review that PR and change that in a nonbreakable way |
|
that should have. but if you hit with something like this, let us know |
Alright, thanks for the clarification 🙏 |
I'm running the development version which is installed via pip and noticed an issue related to the new one-off feature.
If there are n amount of tasks that are run periodically (e.g. once a minute) and the user runs some other task with the one-off attribute, the periodical tasks are not run anymore after the one-off task stops.
Everything seems normal when inspected from the web interface (oneoff-task is disabled and the others are enabled) and from logs (scheduler keeps checking for tasks but doesn't simply notice/send the periodicals).
When the celery worker is restarted, the periodical tasks start running normally.
I tried to debug what is causing this but could not find any specific function.
The text was updated successfully, but these errors were encountered: