mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-03 23:48:12 +08:00
adds support for django-redis connections
This commit is contained in:
@@ -109,6 +109,8 @@ Connection settings for Redis. Defaults::
|
|||||||
|
|
||||||
For more information on these settings please refer to the `Redis-py <https://github.com/andymccurdy/redis-py>`__ documentation
|
For more information on these settings please refer to the `Redis-py <https://github.com/andymccurdy/redis-py>`__ documentation
|
||||||
|
|
||||||
|
.. _django_redis:
|
||||||
|
|
||||||
django_redis
|
django_redis
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,11 @@ When you are making individual calls to :func:`async` a lot though, it can help
|
|||||||
for i in range(50):
|
for i in range(50):
|
||||||
async('math.modf', 2.5, redis=redis_client)
|
async('math.modf', 2.5, redis=redis_client)
|
||||||
|
|
||||||
|
.. tip::
|
||||||
|
|
||||||
|
If you are using `django-redis <https://github.com/niwinz/django-redis>`__ , you can :ref:`configure <django_redis>` Django Q to use its connection pool.
|
||||||
|
|
||||||
|
|
||||||
Reference
|
Reference
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user