mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 11:28:11 +08:00
Adds tests for brokers
* test for redis and django-redis * test for disque TODO add disque to Travis
This commit is contained in:
@@ -22,6 +22,9 @@ class Disque(Broker):
|
||||
def ping(self):
|
||||
return self.connection.ping()
|
||||
|
||||
def delete_queue(self, list_key=None):
|
||||
raise NotImplementedError
|
||||
|
||||
@staticmethod
|
||||
def get_connection():
|
||||
for node in Conf.DISQUE:
|
||||
|
||||
Reference in New Issue
Block a user