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
web server receives http request and schedules sidekiq job
sidekiq job upon completion send http request (e.g. completion callback)
I want my sidekiq jobs to be unique during (for example) 2 hours. It means that after pushing some job with arguments {'a'=>1,'b'=>2} I do not want any other jobs with exactly same arguments to appear in queue and/or in "working" jobs regardless that first job state(successfully finished or failed). The result behavior that after first job finished I can add to queue other job with same arguments which is definitely not expected behavior (or am I missing something?).
So does it bug or feature?
Thanks!
The text was updated successfully, but these errors were encountered:
It is explained in the readme. b77f6a5 so just set the unique_expiration = :timeout and the job won't be processed again until the timeout occurs. I will investigate a way to make this more obvious in the near future.
I have a simple use-case:
I want my sidekiq jobs to be unique during (for example) 2 hours. It means that after pushing some job with arguments
{'a'=>1,'b'=>2}
I do not want any other jobs with exactly same arguments to appear in queue and/or in "working" jobs regardless that first job state(successfully finished or failed). The result behavior that after first job finished I can add to queue other job with same arguments which is definitely not expected behavior (or am I missing something?).So does it bug or feature?
Thanks!
The text was updated successfully, but these errors were encountered: