use REDIS_x_DB_INDEX instead of REDIS_x_DB, add optional setting to example env file
This commit is contained in:
parent
5a3d108c62
commit
900937ee5f
5 changed files with 11 additions and 7 deletions
|
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue