wip D2950

This commit is contained in:
2017-12-15 17:57:47 +01:00
parent 7c6425ff4d
commit 10732f9a10
5 changed files with 17 additions and 20 deletions

View File

@@ -12,7 +12,7 @@ elk_hosts = current_app.config['ELASTIC_SEARCH_HOSTS']
connections.create_connection(
hosts=elk_hosts,
sniff_on_start=True,
sniff_on_start=False,
timeout=20)

View File

@@ -17,7 +17,8 @@ class ResetIndexTask(object):
index_key = ''
"""Key into the ELASTIC_INDICES dict in the app config."""
doc_types: List[type] = []
# List of elastic document types
doc_types = []
name = 'remove index'
def __init__(self):