gresrun/jesque — pull request #16 by tjhruska (2012-04-03 17:37:05+00:00)
Title: Worker implementation that will exit if all queues are empty for a set number of polling loops

-This is useful if you have more queues that you want active workers for at one time, and you don't want workers working multiple queues.
-Essentially once a worker starts a queue you want that queue worked to exhaustion, then you want that worker to die, and to start up another worker on a new queue.

Hi Greg,

You are welcome to include this change in jesque. I couldn't see an easy way to test this in your testing framework. I have incorporated testing in our application, but I can't get any more time from work to figure out how to fit this into your tests.

Thanks,

Timothy