You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
When sending tasks from Python's celery, everything works well. Using celery-php to send tasks throws an error when reaching the code above, saying that self.request.retries is None.
Python's celery automatically sends request.retries as 0 on the first schedule of the task.
The text was updated successfully, but these errors were encountered:
I'm trying to retry tasks if they fail, using a back-off mechanism:
self.retry(exc=e, countdown=int(random.uniform(2, 4) ** self.request.retries))
When sending tasks from Python's celery, everything works well. Using celery-php to send tasks throws an error when reaching the code above, saying that
self.request.retries
isNone
.Python's celery automatically sends
request.retries
as 0 on the first schedule of the task.The text was updated successfully, but these errors were encountered: