jqueue: Add code to prepare for queue shutdown
authorMichael Hanselmann <hansmi@google.com>
Thu, 17 Nov 2011 10:55:18 +0000 (11:55 +0100)
committerMichael Hanselmann <hansmi@google.com>
Mon, 21 Nov 2011 07:36:28 +0000 (08:36 +0100)
commit6d5ea38581f487a9aa581aca5556d4077ab753ca
tree76272d333f409c286267235dbffea5d96e723b55
parentef52306aab58ab0bca5258f677b538c8daaf5c87
jqueue: Add code to prepare for queue shutdown

Doing so will prevent job submissions (similar to a drained queue),
but won't affect currently running jobs. No further jobs will be
executed.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/jqueue.py