Update index.rst

adding insight about the default db
This commit is contained in:
Hossein Shafagh 2020-09-23 09:58:28 -07:00 committed by GitHub
parent cad04885a0
commit d5557c1533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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::