Open aguedob opened 1 year ago
Hi!
In my use case I need the task result to be cached until the lock time expires, in order to avoid new tasks with the same input data. Does it make sense to you keeping the lock even if the task has finished?
I would rather add a new parameter for this so it's not such a dramatic change in behaviour. E.g. unlock_when_finished (default True)
unlock_when_finished
True
Possibly even separate params: unlock_on_success / unlock_on_failure
unlock_on_success
unlock_on_failure
Hi!
In my use case I need the task result to be cached until the lock time expires, in order to avoid new tasks with the same input data. Does it make sense to you keeping the lock even if the task has finished?