Created
September 1, 2020 21:19
-
-
Save sankalpk/03ec05e8feabbd1bbf7f161f1a642135 to your computer and use it in GitHub Desktop.
Delete Sidekiq Retry Jobs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query = Sidekiq::RetrySet.new | |
query.each do |job| | |
job.delete if job.jid == 'abcdef1234567890' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment