Created
March 6, 2016 22:45
-
-
Save davidoram/4eff788c3037d0ca358d to your computer and use it in GitHub Desktop.
Snippet to find Sidekiq workers in the Retry queue, of a given worker type
This file contains hidden or 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 | |
callbacks = query.select {|j| j.klass == 'CallbackNotificationWorker' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment