I am using sidekiq for background tasks in a Rails application. Now the number of tasks is getting larger, so I want to clear all the tasks. I tried the following command in the console
Sidekiq::Queue.new.clear
but he gave the following error.
NameError: uninitialized constant Sidekiq::Queue
How to clear all tasks from sidekiq?
ruby ruby-on-rails sidekiq
Can Can Jul 22 '14 at 11:37 2014-07-22 11:37
source share