-
Notifications
You must be signed in to change notification settings - Fork 28
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
Deleting many items in the queue results in timeouts #16
Milestone
Comments
Hey @benoist, |
sharshenov
added a commit
that referenced
this issue
May 8, 2021
Deleting many items in the queue via Sidekiq Web UI results in timeouts because each job is being unlocked individually. Since this change Sidekiq API patch should be applied explicitly in Gemfile: ```ruby gem 'activejob-uniqueness', require: 'active_job/uniqueness/sidekiq_patch' ``` fixes #16
sharshenov
added a commit
that referenced
this issue
May 8, 2021
Deleting many items in the queue via Sidekiq Web UI results in timeouts because each job is being unlocked individually. Since this change Sidekiq API patch should be applied explicitly in Gemfile: ```ruby gem 'activejob-uniqueness', require: 'active_job/uniqueness/sidekiq_patch' ``` fixes #16
sharshenov
added a commit
that referenced
this issue
May 9, 2021
Deleting many items in the queue via Sidekiq Web UI results in timeouts because each job is being unlocked individually. Since this change Sidekiq API patch should be applied explicitly in Gemfile: ```ruby gem 'activejob-uniqueness', require: 'active_job/uniqueness/sidekiq_patch' ``` fixes #16
sharshenov
added a commit
that referenced
this issue
May 9, 2021
Deleting many items in the queue via Sidekiq Web UI results in timeouts because each job is being unlocked individually. Since this change Sidekiq API patch should be applied explicitly in Gemfile: ```ruby gem 'activejob-uniqueness', require: 'active_job/uniqueness/sidekiq_patch' ``` fixes #16
sharshenov
added a commit
that referenced
this issue
May 9, 2021
Deleting many items in the queue via Sidekiq Web UI results in timeouts because each job is being unlocked individually. Since this change Sidekiq API patch should be applied explicitly in Gemfile: ```ruby gem 'activejob-uniqueness', require: 'active_job/uniqueness/sidekiq_patch' ``` fixes #16
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thanks for creating this awesome gem.
We've been using this for a while but when I upgraded to a recent version, I noticed that the deletion of jobs now also removes the lock. That's great, however when you delete a full queue of 1000+ items this causes timeouts on sidekiq admin and it actually doesn't seem to be clearing the queue.
My previous method was always to clear the queue and then unlock all items.
This method is much faster.
Perhaps a similar method can be used to unlock all items when you delete a full queue?
The text was updated successfully, but these errors were encountered: