NicolasLM / spinach

Modern Redis task queue for Python 3
https://spinach.readthedocs.io
BSD 2-Clause "Simplified" License
63 stars 4 forks source link

Add spinach.task.AbortException #3

Closed 0xDEC0DE closed 5 years ago

0xDEC0DE commented 5 years ago

Add an exception to allow for retry jobs to short-circuit, e.g., for fatal error conditions in tasks where it is known they will never succeed and any further retries would be pointless

NicolasLM commented 5 years ago

Great, thank you! The CI failure is unrelated so merged.