-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
while_executing working wrong #193
Comments
Have you tried it without This limit fetch gem is going to try to control when jobs are performed from the queue, but that's exactly what this gem is needs to do for the |
@natematykiewicz Thank for feedback. I just check it without sidekiq-limit_fetch. It's same result, still have two |
Below is list gem relate with sidekiq I used
|
If I were you, I'd remove all gems except sidekiq and sidekiq-unique-jobs and then see what you get. If it works, start adding gems in until you find one that doesn't seem to be compatible with sidekiq-unique-jobs. |
It's same result, still have two Job with arg is 1 execute at the time. |
I had the same experience - the only option that seems to work for me is |
I was having some issues with this. I initially had one worker process with 2 queues:
And moved my unique jobs on its own process
This seemed to solve my unique issues. I didn't investigate any more than this so, I can't say what was actually happening. |
Thanks for the report @cheneveld |
Sorry, I'm pretty busy recent time. @cheneveld, @mhenrixon Tried split 2 process but no luck. It's same result. |
@mhenrixon This seems like a pretty core use case to be broken? Super simple repro:
And then start with
Redis: 3.2.6 (single node, nothing special) Am I missing something here? If this is truly broken, should it be reflected in docs? |
I am also seeing this behavior. Is while_executing option broken? It doesn't appear to lock other jobs out, everything with the same args enqueues all at once. |
It has been somewhat fixed in v5.0.5. Check the readme for how it currently works: https://github.com/mhenrixon/sidekiq-unique-jobs#while-executing |
As description, it is to make sure that a job can be scheduled any number of times but only executed a single time per argument provided to the job we call this runtime uniqueness. But it not work for me
Have two
Job
with arg is1
execute at the timeSystem information
3.3.1
4.1.3
4.0.18
3.1.0
Sidekiq Config
The text was updated successfully, but these errors were encountered: