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
celery 4.1 ETA time is not correct #4221
Comments
因为时区的关系,不能直接用countdown=60,可以改用eta这种绝对时间。 import pytz ... eta=EtaWithTZ("2017-08-23 10:30:00") |
#4173 pull request maybe fix this problem. |
@djluo 木有事,反正我看得懂。 |
@ldsink will be fix in celery4.2 ? |
Confirming that the pull request fixed the issue which I started experiencing after moving from v4.0.2 to v4.1.0. Problem was that the cron job was triggering at the specified time but in UTC time instead of the given timezone. I suspect that this was due to my For reference, my settings are:
|
@vst thanks for confirming! |
I think this issue also affects retry(countdown=N). With no code changes in my Django project, with Celery 4.0.2 retry(countdown=5) works as expected. Celery 4.1.0 requeues the task but it doesn't get executed in the desired countdown seconds, but several minutes later. |
Since this is fixed in #4173 I'm going to close this issue. |
this demo.py
err behavior
look: ETA:[...] time is not correct,but celery 4.0.2 this demo.py is correct
The text was updated successfully, but these errors were encountered: