Skip to content

Commit

Permalink
malarout: Updated ES connection in query_util
Browse files Browse the repository at this point in the history
  • Loading branch information
malarout committed Apr 15, 2019
1 parent 312f26d commit 6693a77
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions commons/query_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
import datetime
import logging
from commons import product_metadata
# from hysds.celery import app
from hysds.celery import app


# ES_URL = app.conf.get("GRQ_ES_URL", "http://localhost:9200")
ES_URL = "http://localhost:9200"
ES_URL = app.conf.get("GRQ_ES_URL", "http://localhost:9200")
ES = elasticsearch.Elasticsearch(ES_URL)
GRQ_INDEX = "grq"
PRODUCT_COUNTER_INDEX = "product_counter"
Expand Down

0 comments on commit 6693a77

Please sign in to comment.