{"issue":{"state":"open","created_at":"2011-11-29T19:59:29Z","updated_at":"2011-12-04T19:25:23Z","comments":8,"user":{"gravatar_id":"64417167ba0995031dff46dd4e6aafa1","id":302063,"url":"https://api.github.com/users/davebenvenuti","login":"davebenvenuti","avatar_url":"https://secure.gravatar.com/avatar/64417167ba0995031dff46dd4e6aafa1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Let's try this again!\r\n\r\nThis is an oldie I've had sitting around for a while. The idea is that it allows you to set different retry delays for different classes of exceptions. so, for example, the following is possible:\r\n\r\nclass MyJob\r\nextend Resque::Plugins::Retry\r\n\r\n@retry_limit = 1\r\n@retry_exceptions = [Timeout::Error, Net::IMAP::NoResponseError]\r\n@retry_delay = { Timeout::Error => 60, Net::IMAP::NoResponseError => 30}\r\n\r\n...\r\nend\r\n\r\nThis would give timeout errors a retry delay of 60 seconds, while imap no response errors would have a delay of 30","assignee":null,"id":2391645,"labels":[],"pull_request":{"patch_url":"https://github.com/lantins/resque-retry/pull/32.patch","html_url":"https://github.com/lantins/resque-retry/pull/32","diff_url":"https://github.com/lantins/resque-retry/pull/32.diff"},"number":32,"title":"Per exception retry parameters","html_url":"https://github.com/lantins/resque-retry/issues/32","closed_at":null,"url":"https://api.github.com/repos/lantins/resque-retry/issues/32","milestone":null},"action":"created","comment":{"created_at":"2011-12-04T19:25:23Z","updated_at":"2011-12-04T19:25:23Z","user":{"gravatar_id":"64417167ba0995031dff46dd4e6aafa1","id":302063,"url":"https://api.github.com/users/davebenvenuti","login":"davebenvenuti","avatar_url":"https://secure.gravatar.com/avatar/64417167ba0995031dff46dd4e6aafa1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I thought the same thing.  I'll have another patch within an hour or so, and as far as i can tell, retry_exceptions should behave just like it used to","id":3008240,"url":"https://api.github.com/repos/lantins/resque-retry/issues/comments/3008240"}}