mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-10 00:50:56 +08:00
adds fail method to broker
This commit is contained in:
@@ -55,6 +55,13 @@ class Broker(object):
|
||||
"""
|
||||
pass
|
||||
|
||||
def fail(self, task_id):
|
||||
"""
|
||||
Fails a task message
|
||||
:param task_id:
|
||||
:return:
|
||||
"""
|
||||
|
||||
def ping(self):
|
||||
"""
|
||||
Checks whether the broker connection is available
|
||||
|
||||
Reference in New Issue
Block a user