Skip to content

Instantly share code, notes, and snippets.

@stuartchaney
Created October 15, 2014 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuartchaney/6f970c5691ff93122f65 to your computer and use it in GitHub Desktop.
Save stuartchaney/6f970c5691ff93122f65 to your computer and use it in GitHub Desktop.
require 'resque-retry'
class WebhookProcessor
extend Resque::Plugins::Retry
@queue = :webhook_processor
@retry_limit = 3
@retry_delay = 60
def self.perform
#da_code
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment