mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-06-25 11:34:18 +00:00
I forgot to set ALL of the index replication values
This commit is contained in:
@@ -218,7 +218,7 @@ def create_indexes(names, settings=None):
|
||||
logger.debug("Creating Elasticsearch index: {0}".format(name))
|
||||
if settings is None:
|
||||
index.settings(number_of_shards=1,
|
||||
number_of_replicas=1)
|
||||
number_of_replicas=0)
|
||||
else:
|
||||
index.settings(**settings)
|
||||
index.create()
|
||||
@@ -281,7 +281,7 @@ def save_aggregate_report_to_elasticsearch(aggregate_report,
|
||||
index_suffix=None,
|
||||
monthly_indexes=False,
|
||||
number_of_shards=1,
|
||||
number_of_replicas=1):
|
||||
number_of_replicas=0):
|
||||
"""
|
||||
Saves a parsed DMARC aggregate report to ElasticSearch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user