Commit 3bb41ddd by Clinton Blackburn

Merge pull request #23 from edx/clintonb/remove-sniffing

Removed Elasticsearch sniff_on_start
parents 63d36819 420d7af6
...@@ -17,7 +17,7 @@ class Command(BaseCommand): ...@@ -17,7 +17,7 @@ class Command(BaseCommand):
alias = settings.ELASTICSEARCH['index'] alias = settings.ELASTICSEARCH['index']
logger.info('Attempting to establish initial connection to Elasticsearch host [%s]...', host) logger.info('Attempting to establish initial connection to Elasticsearch host [%s]...', host)
es = Elasticsearch(host, sniff_on_start=True) es = Elasticsearch(host)
logger.info('...success!') logger.info('...success!')
ElasticsearchUtils.create_alias_and_index(es, alias) ElasticsearchUtils.create_alias_and_index(es, alias)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment