From b2019b33f88447a742b71aa00db8c9334605d05b Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Thu, 13 Dec 2018 00:19:50 +0100 Subject: [PATCH] fix(core): update --- ts/elasticsearch.classes.elasticindex.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/elasticsearch.classes.elasticindex.ts b/ts/elasticsearch.classes.elasticindex.ts index 799a694..c0c5252 100644 --- a/ts/elasticsearch.classes.elasticindex.ts +++ b/ts/elasticsearch.classes.elasticindex.ts @@ -52,7 +52,8 @@ export class ElasticIndex { const done2 = plugins.smartpromise.defer(); this.elasticSearchRef.client.indices.create( { - waitForActiveShards: '2', + + waitForActiveShards: '1', index: indexArg }, (error, response) => {