defunkt/resque — comment on commit 7113b0df5314e5464a440512b77ca90d04ac5f0c
File: lib/resque/job.rb line 174
By nfo:

This results in calling `run_failure_hooks` twice. Once in the `Job#perform` method, and then from `Worker#perform`, which calls `Job#fail`, which calls `run_failure_hooks`. Took me a long time to figure this. With the `resque-retry` plugin, jobs are re-enqueued twice. @raykrueger