Skip to content

Instantly share code, notes, and snippets.

Avatar

Eduardo Gutiérrez fedgut

View GitHub Profile
View clear-sidekiq-jobs.sh
require 'sidekiq/api'
# 1. Clear retry set
Sidekiq::RetrySet.new.clear
# 2. Clear scheduled jobs
Sidekiq::ScheduledSet.new.clear