Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Snippet to find Sidekiq workers in the Retry queue, of a given worker type
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