From 6583c4423e024ccc30fd5e00b720f489be39257c Mon Sep 17 00:00:00 2001 From: talktovikas Date: Tue, 17 Dec 2024 13:25:25 +0530 Subject: [PATCH] binding track_total_hits to sys.config Signed-off-by: talktovikas --- components/automate-cs-oc-erchef/habitat/config/sys.config | 2 +- components/automate-cs-oc-erchef/habitat/default.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/automate-cs-oc-erchef/habitat/config/sys.config b/components/automate-cs-oc-erchef/habitat/config/sys.config index b9486b34c38..23b0dee3ea9 100644 --- a/components/automate-cs-oc-erchef/habitat/config/sys.config +++ b/components/automate-cs-oc-erchef/habitat/config/sys.config @@ -172,7 +172,7 @@ {search_batch_max_wait, {{cfg.index.batch_max_wait}}}, {reindex_sleep_min_ms, {{cfg.index.reindex_sleep_min_ms}}}, {reindex_sleep_max_ms, {{cfg.index.reindex_sleep_max_ms}}}, - {track_total_hits,false}, + {track_total_hits, {{cfg.index.track_total_hits}}}, {reindex_item_retries, {{cfg.index.reindex_item_retries}}}, {solr_service, [ {{#eachAlive bind.automate-es-gateway.members as |member| ~}} diff --git a/components/automate-cs-oc-erchef/habitat/default.toml b/components/automate-cs-oc-erchef/habitat/default.toml index e12c9b200e1..11a135b12ec 100644 --- a/components/automate-cs-oc-erchef/habitat/default.toml +++ b/components/automate-cs-oc-erchef/habitat/default.toml @@ -39,6 +39,7 @@ batch_max_wait = 10 reindex_batch_size=10 reindex_sleep_min_ms=50 reindex_sleep_max_ms=2000 +track_total_hits=false reindex_item_retries=3 search_provider="opensearch" search_queue_mode="batch"