Conditionally lock and unlock depending on one of the options or method call #857
Unanswered
alexanderadam
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I might just not be able to search properly in the documentation but in my case I'd need the job be unique only on certain conditions.
Or would this be the right way?
And what if lock mode and strategy should change too?
i.e. from
{ lock: :while_executing, on_conflict: :reject }
to{ lock: :until_executed, on_conflict: :log }
and vice versa.Beta Was this translation helpful? Give feedback.
All reactions