From 12426b0f76107ef1f976f9383b9c715158e75f71 Mon Sep 17 00:00:00 2001 From: minottic Date: Thu, 14 Nov 2024 09:45:54 +0100 Subject: [PATCH] Review v4 elastic setting to wait for index upated This is required especially for test:api:mocha to pass when elastic is enabled --- services/backend/services/v4/config/.elastic.env | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/services/backend/services/v4/config/.elastic.env b/services/backend/services/v4/config/.elastic.env index 2f821f33..328d63e8 100644 --- a/services/backend/services/v4/config/.elastic.env +++ b/services/backend/services/v4/config/.elastic.env @@ -1,9 +1,9 @@ ELASTICSEARCH_ENABLED=yes ES_HOST="http://elastic:9200" -ES_USERNAME="elastic" -ES_PASSWORD="password" -MONGODB_COLLECTION="elastic" +ES_USERNAME=elastic +ES_PASSWORD=password +MONGODB_COLLECTION=elastic ES_MAX_RESULT=10000 ES_FIELDS_LIMIT=1000 -ES_INDEX="dataset" -ES_REFRESH="false" +ES_INDEX=dataset +ES_REFRESH=wait_for