From 9c9c6caeec52a8bc9185d50a99f73d324f968957 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Mon, 26 Oct 2015 09:18:07 -0700 Subject: [PATCH] Latest changes --- Changes.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Changes.md b/Changes.md index 154752ac3..53ae21709 100644 --- a/Changes.md +++ b/Changes.md @@ -1,3 +1,22 @@ +# Sidekiq Changes + +HEAD +----------- + +- The exception triggering a retry is now passed into `sidekiq_retry_in`, + allowing you to retry more frequently for certain types of errors. + [#2619, kreynolds] +```ruby + sidekiq_retry_in do |count, ex| + case ex + when RuntimeError + 5 * count + else + 10 * count + end + end +``` + 3.5.1 -----------