mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-10 06:50:55 +08:00
Only show lock count when available and greater than zero
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user