seomoz/qless-core — pull request #46 by james-lawrence (2014-04-11 12:23:17+00:00)
Title: Throttling on arbitrary resources.

Implements throttling for arbitrary resources.
https://github.com/seomoz/qless-core/issues/27

Implemented by giving each throttle its own queue of active/pending jobs and as jobs complete/fail/retry moves jobs from pending back into the waiting queue to be popped.

Let me know of any questions, changes that need to be made etc.