Answers for "delete all queued sidekiq jobs"

0

delete all queued sidekiq jobs

require 'sidekiq/api' # for the case of rails console

Sidekiq::Queue.new("infinity").clear
Sidekiq::RetrySet.new.clear
Sidekiq::ScheduledSet.new.clear
Posted by: Guest on February-24-2021

Browse Popular Code Answers by Language