You could set ignore_result=True, then it won't keep track of state.
You may want to keep the other states though, in that case you can
save the FAILURE state in the `after_return` handler:
class MyTask(Task):
def after_return(self, *args, **kwargs):
self.update_state(state=states.FAILURE)
super(MyTask, self).after_return(*args, **kwargs)
after_return will be called *after* any state has been updated
by the worker.
--
Ask Solem
twitter.com/asksol | +44 (0)7713357179