As Celery documentation states, already executing task will not be aborted by calling .revoke()
, unless terminate=True
is set. But that is not recommended, because it will kill the worker itself, which might have already started another task. Does that mean that there is no reliable, stable way to do that?
EDIT: celery.contrib.abortable
doesn't suit me, because, as documentation states, it works only with database backends.