mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing ES db monitor.
This commit is contained in:
parent
88fed0e66c
commit
853e1f8b7a
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ def db_check_redis_sessions():
|
|||
|
||||
@app.route("/db_check/elasticsearch")
|
||||
def db_check_elasticsearch():
|
||||
es_host = getattr(settings, ELASTICSEARCH_FEED_HOSTS, ['db_search_feed:9200'])
|
||||
es_host = getattr(settings, 'ELASTICSEARCH_FEED_HOSTS', ['db_search_feed:9200'])
|
||||
try:
|
||||
conn = pyes.ES(es_host)
|
||||
except:
|
||||
|
|
Loading…
Add table
Reference in a new issue