Retrying failed jobs does not trigger hooks
We depend on Resque hooks for queue locking, autoscaling, and other plugin actions. It appears that when I "retry and clear" jobs from Resque Brain none of the hooks are triggered.
Looking at the original Resque server implementation it calls Resque::Failure#requeue which for the redis backend created a Job (triggering hooks). However, Resque Brain calls #push_to_queue on the resque data store which skips hooks.
I can look at getting a PR for this, unless someone else has time to address it first. Let me know if there's a specific reason to use #push_to_queue and not just call Resque::Failure#requeue to handle all of that.
This repo isn't actively maintained—we had to fork it internally to add features we unfortunately can't share back.