wip D2950
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
@@ -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):
|
||||
|
Reference in New Issue
Block a user