impress/config/initializers/resque_retry.rb

7 lines
209 B
Ruby
Raw Normal View History

require 'resque-retry'
require 'resque/failure/redis'
Resque::Failure::MultipleWithRetrySuppression.classes = [Resque::Failure::Redis]
Resque::Failure.backend = Resque::Failure::MultipleWithRetrySuppression