mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-10 00:20:55 +08:00
adds info method to brokers
This commit is contained in:
@@ -17,6 +17,9 @@ class IronMQBroker(Broker):
|
||||
def ping(self):
|
||||
return self.connection.name == self.list_key
|
||||
|
||||
def info(self):
|
||||
return 'IronMQ'
|
||||
|
||||
def queue_size(self):
|
||||
return self.connection.size()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user