How to cleanly stop Celery tasks on conditions or exceptions
If you just want to see my solution without previous context scroll down!
Context
I’ve been struggling quite a bit with exiting Celery tasks cleanly while developing Emilio.
We use Django as the backend and Celery to run tasks on workers.
I had cases...
getemilio.hashnode.dev3 min read