mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-15 04:36:34 +00:00
Authentication for redis in prod management command
This commit is contained in:
parent
6f37a43d33
commit
b8695ae3b7
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ import redis
|
||||||
from bookwyrm import activitystreams, models, settings
|
from bookwyrm import activitystreams, models, settings
|
||||||
|
|
||||||
r = redis.Redis(
|
r = redis.Redis(
|
||||||
host=settings.REDIS_ACTIVITY_HOST, port=settings.REDIS_ACTIVITY_PORT, db=0
|
host=settings.REDIS_ACTIVITY_HOST,
|
||||||
|
port=settings.REDIS_ACTIVITY_PORT,
|
||||||
|
password=settings.REDIS_ACTIVITY_PASSWORD,
|
||||||
|
db=0,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue