From d5557c1533dd94a11c3edfed31562949c87a414e Mon Sep 17 00:00:00 2001 From: Hossein Shafagh Date: Wed, 23 Sep 2020 09:58:28 -0700 Subject: [PATCH] Update index.rst adding insight about the default db --- docs/production/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/production/index.rst b/docs/production/index.rst index e4dd2e84..9f90c0cc 100644 --- a/docs/production/index.rst +++ b/docs/production/index.rst @@ -398,7 +398,7 @@ Here are the Celery configuration variables that should be set:: REDIS_DB=0 Out of the box, every Redis instance supports 16 databases. The default database (`REDIS_DB`) is set to 0, however, you can use any of the databases from 0-15. Via `redis.conf` more databases can be supported. -In the `redis://` url, the database number needs to be added with a slash after the port. +In the `redis://` url, the database number can be added with a slash after the port. (defaults to 0, if omitted) Do not forget to import crontab module in your configuration file::