You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an event that enqueues a job with arguments into the queue. This job is limited by concurrency. It can run only once at any given time for the given set of arguments. It gets blocked and then it gets executed again.
I want to not even enqueue the second time. For this, I have to check if the job is already in progress, or in queue, or blocked. How can I check with exact arguments?
I tried
SolidQueue::Job.scheduled.where(class_name: 'SomeJob') but this doesn't get with the arguments
The text was updated successfully, but these errors were encountered:
I have an event that enqueues a job with arguments into the queue. This job is limited by concurrency. It can run only once at any given time for the given set of arguments. It gets blocked and then it gets executed again.
I want to not even enqueue the second time. For this, I have to check if the job is already in progress, or in queue, or blocked. How can I check with exact arguments?
I tried
SolidQueue::Job.scheduled.where(class_name: 'SomeJob')
but this doesn't get with the argumentsThe text was updated successfully, but these errors were encountered: