mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding redis host
This commit is contained in:
parent
de46f03f77
commit
6aefe5739e
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ def db_check_redis_sessions():
|
|||
|
||||
@app.route("/db_check/redis_pubsub")
|
||||
def db_check_redis_pubsub():
|
||||
redis_host = getattr(settings, 'REDIS', {'host': 'db_redis_pubsub'})
|
||||
try:
|
||||
r = redis.Redis(redis_host, db=1)
|
||||
except:
|
||||
|
|
Loading…
Add table
Reference in a new issue