spotify/luigi — pull request #263 by JoeEnnever (2014-01-22 01:05:29+00:00)
Title: Adds resource pools to tasks

```lang=python
pool = luigi.Pool("foo")
class A(luigi.Task):
pool = pool

class B(luigi.Task):
pool = pool
```
Only 1 of {A, B} will be run at a given time. Supports multiple pools per task, Task will acquire from all its pools.

Should expose more debugging info from the scheduler, e.g.
"Will not schedule A because pool "foo" is empty"