mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 07:58:12 +08:00
Django ORM broker
This commit is contained in:
@@ -160,6 +160,9 @@ def get_broker(list_key=Conf.PREFIX):
|
||||
elif Conf.SQS:
|
||||
from brokers import aws_sqs
|
||||
return aws_sqs.Sqs(list_key=list_key)
|
||||
elif Conf.ORM:
|
||||
from brokers import orm
|
||||
return orm.ORM(list_key=list_key)
|
||||
# default to redis
|
||||
else:
|
||||
from brokers import redis_broker
|
||||
|
||||
Reference in New Issue
Block a user