Reputation: 57118
I added some code to my task's on_failure
which deletes an object. My intention was to delete the object after the max retries occurred, but on_failure
is called once per failure of the run
method, rather than after failure of all retries. Is there another place to put this sort of functionality (e.g., def after_exhaustion(...)
).
Upvotes: 1
Views: 482