backupify/resque — pull request #2 by jzaleski (2013-05-22 00:05:38+00:00)
Title: Staggered sleep

With this change we should no longer overload redis when the majority of our workers are idle, they will sleep, staggered, for a random amount of time (between 5 and 300 seconds).

This change also pushes the default-value processing for "interval" to the "work" method in: lib/resque/worker.rb