mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
Merge pull request #797 from mouse-reeve/auth-prod-redis-management
Authentication for redis in prod management command
This commit is contained in:
commit
78467190a6
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ import redis
|
|||
from bookwyrm import activitystreams, models, settings
|
||||
|
||||
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