-
-
Notifications
You must be signed in to change notification settings - Fork 277
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 still runs duplicate tasks #136
Comments
None, the jobs are processing one at a time. The other two will wait until the first one is finished. It just looks like they are all running at the same time.
|
So it's normal, that I can see then under 'busy' tab in sidekiq dashboard? |
Ok, lets move to the second issue. |
I have absolutely no idea why your jobs aren't continuously processed after being executed. The lock gets cleared as the job is processed. Not heard about that problem before. Not sure what sidekiq queue is but if it is |
BTW, I'm creating jobs via clockwork gem, without loading rails environment |
Hi, folks!
Probably I'm doing something wrong, hope you'll help me.
I have following worker:
It runs some periodic tasks, without any args.
And I don't want this tasks to be run simultaneously.
But if I start this job multiple times - all tasks will be running.
If I change :while_executing to :until_executed - then this task is run only once, and after its completion new tasks will not be processed.
Where is my mistake?
The text was updated successfully, but these errors were encountered: