Only show lock count when available and greater than zero

This commit is contained in:
Ilan Steemers
2015-09-19 15:42:35 +02:00
parent 54789a9597
commit 93a8f71157
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -29,6 +29,11 @@ class Broker(object):
"""
pass
def lock_size(self):
"""
:return: the number of tasks currently awaiting acknowledgement
"""
def delete_queue(self):
"""
Deletes the queue from the broker