bonusboxme/bunny_carrot — pull request #1 by voldy (2014-04-12 20:30:20+00:00)
Title: Restart with delay

Problem: we do 1000 restarts in a matter of several seconds. In case of network failures or services unavailability we often block queue before this failure has been recovered.

I suggest next solution: we delay restart depending on a restart attempt. There is no delay for the first restart, 1 sec for second and around 10 secs for 1000th.

Queue will be blocked for the period of a delay. But it's ok for the most use cases.