Browse Source

Fixed Documentation for redis broker and result stores using vhost strings rather than integers. Closes #200. Thanks to prencher

Ask Solem 14 years ago
parent
commit
33f84890e8
2 changed files with 3 additions and 3 deletions
  1. 2 2
      docs/configuration.rst
  2. 1 1
      docs/tutorials/otherqueues.rst

+ 2 - 2
docs/configuration.rst

@@ -368,8 +368,8 @@ Example configuration
     CELERY_RESULT_BACKEND = "redis"
     REDIS_HOST = "localhost"
     REDIS_PORT = 6379
-    REDIS_DB = "celery_results"
-    REDIS_CONNECT_RETRY=True
+    REDIS_DB = 0
+    REDIS_CONNECT_RETRY = True
 
 .. _conf-mongodb-result-backend:
 

+ 1 - 1
docs/tutorials/otherqueues.rst

@@ -44,7 +44,7 @@ your Redis database::
 
     BROKER_HOST = "localhost"  # Maps to redis host.
     BROKER_PORT = 6379         # Maps to redis port.
-    BROKER_VHOST = "celery"    # Maps to database name.
+    BROKER_VHOST = "0"         # Maps to database number.
 
 .. _otherqueues-database: