Cancel an already executing task with Celery?

后端 未结 5 1544
轻奢々
轻奢々 2020-11-27 09:57

I have been reading the doc and searching but cannot seem to find a straight answer:

Can you cancel an already executing task? (as in the task has started, takes a w

5条回答
  •  情歌与酒
    2020-11-27 10:26

    In addition, unsatisfactory, there is another way(abort task) to stop the task, but there are many unreliability, more details, see: http://docs.celeryproject.org/en/latest/reference/celery.contrib.abortable.html

提交回复
热议问题