I have a simple use-case:
- 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!
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!