Open swapnilsm opened 7 years ago
Passing once={'graceful': True}
to shared_task
makes those tasks undiscoverable.
Any comments on this? @swapnilsm did you get it working?
@DiegoGallegos4 We finally had to move to passing those parameters like these.
app.tasks['project.tasks.task1'].signature((), once={'graceful': True}).apply_async()
Doesn't work with
shared_task
. When used withshared_task
, the task doesn't get auto-discovered. Just importing theQueueOnce
makes all the tasks undiscoverable.