Skip to content

Commit

Permalink
binding track_total_hits to sys.config
Browse files Browse the repository at this point in the history
Signed-off-by: talktovikas <[email protected]>
  • Loading branch information
talktovikas committed Dec 19, 2024
1 parent c09b3a8 commit 6583c44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/automate-cs-oc-erchef/habitat/config/sys.config
Original file line number Diff line number Diff line change
Expand Up @@ -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| ~}}
Expand Down
1 change: 1 addition & 0 deletions components/automate-cs-oc-erchef/habitat/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6583c44

Please sign in to comment.