Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

aguedob
Copy link

@aguedob aguedob commented Oct 21, 2022

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?

@steinitzu
Copy link
Owner

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)

@steinitzu
Copy link
Owner

Possibly even separate params: unlock_on_success / unlock_on_failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.