workerpool: Add support for task priority
authorMichael Hanselmann <hansmi@google.com>
Sun, 18 Jul 2010 20:01:01 +0000 (22:01 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 24 Aug 2010 15:32:03 +0000 (17:32 +0200)
commit52c47e4e8adce0406f08ad1992ce99c1b8f2f2b7
treeb04e24014e31a31dc4b35f11de441556c762b66e
parentea8ac9c99ca6b59db76bd7f549eb059613aa81b4
workerpool: Add support for task priority

To add job priorities, the worker pool underlying the job queue must
support priorities per task. This patch adds them to the worker pool.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
doc/design-2.3.rst
lib/workerpool.py
test/ganeti.workerpool_unittest.py