Replies: 4 comments
-
|
Furthermore, I'm running into some race conditions. When I chain tasks using |
Beta Was this translation helpful? Give feedback.
-
|
can you please help to reproduce? |
Beta Was this translation helpful? Give feedback.
-
|
Sure! So the behavior I'm seeing is that a chained task, say A -> B, the latter task can execute before A is finished. If that's the case, it makes sense that As a workaround I can use Lastly, I am not sure when Anyhow, using django-celery-results 2.4.0 with celery 5.2.7, backed by django with postgres and with rabbitmq as the broker. All settings default (except broker url, results backend set to django-db) As for the code, there isn't much. The chain will throw unexpected exception and the error callback will work correctly. |
Beta Was this translation helpful? Give feedback.
-
|
@auvipy any news on this? :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
At what moment of a task life cycle is the
TaskResultobject created?TaskResult.statusfield supports all types of status but most of them would be unused ifTaskResultwas created only after a task has finished. So, what is it?Beta Was this translation helpful? Give feedback.
All reactions