Skip to content

Instantly share code, notes, and snippets.

@MatthewRDodds
Last active August 29, 2015 14:20
Show Gist options
  • Save MatthewRDodds/e943dc40753a080842f1 to your computer and use it in GitHub Desktop.
Save MatthewRDodds/e943dc40753a080842f1 to your computer and use it in GitHub Desktop.
Retry Sidekiq Job Synchronously
require 'active_support'
job = Sidekiq::RetrySet.new.to_a[0]
job.item['class'].constantize.new.perform(*job.args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment