Skip to content

Commit

Permalink
docs: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Koed00 committed Sep 8, 2015
1 parent 5f4334d commit bb7e91e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/configure.rst
Expand Up @@ -136,7 +136,7 @@ django_redis
~~~~~~~~~~~~

If you are already using `django-redis <https://github.com/niwinz/django-redis>`__ for your caching, you can take advantage of its excellent connection backend by supplying the name
of the cache connection you want to use::
of the cache connection you want to use instead of a direct Redis connection::

# example django-redis connection
Q_CLUSTER = {
Expand Down Expand Up @@ -167,16 +167,17 @@ If you want to use Disque as your broker, set this to a list of available Disque
}


Django Q is also compatible with the `Tynd <https://disque.tynd.co/>`__ addon on `Heroku <https://heroku.com>`__::
Django Q is also compatible with the `Tynd Disque <https://disque.tynd.co/>`__ addon on `Heroku <https://heroku.com>`__::

# example Tynd connection
# example Tynd Disque connection
import os

Q_CLUSTER = {
'name': 'TyndBroker',
'workers': 8,
'timeout': 30,
'retry': 60,
'bulk': 10,
'disque_nodes': os.environ['TYND_DISQUE_NODES'].split(','),
'disque_auth': os.environ['TYND_DISQUE_AUTH']
}
Expand Down

0 comments on commit bb7e91e

Please sign in to comment.