django-background-tasks
django-background-tasks copied to clipboard
Different setting of MAX_ATTEMPT attribute in different background task
I notice that we can have a global setting of max_attempt in the settings.py.
However, can the background task has its own max attempt number? Since some of the background task are supposed to abort on fail.
Would there be any setting in decorator like this?
@background(schedule=10, max_attempt=1)
def foo(bar):
#blah blah blah
I also have the same question. Would there be a way to repeat some tasks, but abort others when they fail?
I am also looking for solution for this?? Have u found and solution to this??
Yes, that is a feature that would also help me. Are there any plans if it can be implemented?