Hello, I've found out my problem. It is that I am using Heroku, so when the 
worker is restarted, the revoked tasks list is lost.
How can I persist this list in Heroku? Since I cannot write a file in the 
filesystem.
Thanks a lot.

El miércoles, 12 de abril de 2017, 1:09:08 (UTC-3), Mauro Sánchez escribió:
>
> Hello, I am trying to revoke a Pending task in celery without success.
> I have tried all this ways:
> app.control.revoke(task_id)
> revoke(campaign.state_task)
> async_result.revoke()
> AsyncResult(task_id).revoke()
>
> None of them work. I am using:
> celery==3.1.23
> django-celery==3.1.17
> Django==1.9.13
> tenant-schemas-celery==0.1.5
>
> Any idea why this is happening. I can't see any errors when I run those 
> commands.
> Thanks for the help.
> Cheers
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1aa6e56f-667d-456d-bea5-d9818c4df3a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to