Using localhost

This commit is contained in:
Samuel Clay 2021-08-11 19:17:51 -04:00
parent 9258f5e112
commit 84feed0011

View file

@ -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)