mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 02:18:12 +08:00
adds info method to brokers
This commit is contained in:
@@ -46,6 +46,9 @@ class Sqs(Broker):
|
||||
except Exception as e:
|
||||
raise e
|
||||
|
||||
def info(self):
|
||||
return 'AWS SQS'
|
||||
|
||||
@staticmethod
|
||||
def get_connection(list_key=Conf.PREFIX):
|
||||
conn = boto.sqs.connect_to_region(Conf.SQS['region'],
|
||||
|
||||
Reference in New Issue
Block a user