This is the code that I have
class ExampleTask
extend Resque::Plugins::ExponentialBackoff
@backoff_strategy = [0, 20, 3600]
@queue = :example_tasks
def self.perform
raise
end
end
I am running into a problem where, whenever I enqueue this task locally, Resque seems to retry the task immediately without respecting the backoff strategy. Has anyone ever experienced this problem before?
upgrading to 1.0.0 actually solves this problem.