mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Using localhost
This commit is contained in:
parent
9258f5e112
commit
84feed0011
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ def db_check_redis_pubsub():
|
|||
@app.route("/db_check/elasticsearch")
|
||||
def db_check_elasticsearch():
|
||||
try:
|
||||
conn = elasticsearch.Elasticsearch('db-elasticsearch.node.nyc1.consul')
|
||||
conn = elasticsearch.Elasticsearch(settings.SERVER_NAME)
|
||||
except:
|
||||
abort(503)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue