use REDIS_x_DB_INDEX instead of REDIS_x_DB, add optional setting to example env file

This commit is contained in:
Jade Meskill
2022-01-13 09:15:24 -07:00
parent 5a3d108c62
commit 900937ee5f
5 changed files with 11 additions and 7 deletions

View File

@ -7,7 +7,7 @@ from bookwyrm import settings
r = redis.Redis(
host=settings.REDIS_ACTIVITY_HOST,
port=settings.REDIS_ACTIVITY_PORT,
db=settings.REDIS_ACTIVITY_DB,
db=settings.REDIS_ACTIVITY_DB_INDEX,
)