Skip to content

Commit

Permalink
Don't set refresh interval as user templates can no longer affect it
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Aug 21, 2023
1 parent 43135b6 commit 7f12ed7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ export const cloneIndex = ({
// we repeat it here for explicitness.
number_of_shards: INDEX_NUMBER_OF_SHARDS,
auto_expand_replicas: INDEX_AUTO_EXPAND_REPLICAS,
// Set an explicit refresh interval so that we don't inherit the
// value from incorrectly configured index templates (not required
// after we adopt system indices)
refresh_interval: '1s',
// Bump priority so that recovery happens before newer indices
priority: 10,
// Increase the fields limit beyond the default of 1000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ export const createIndex = ({
// Kibana is unlikely to cross that limit.
number_of_shards: 1,
auto_expand_replicas: INDEX_AUTO_EXPAND_REPLICAS,
// Set an explicit refresh interval so that we don't inherit the
// value from incorrectly configured index templates (not required
// after we adopt system indices)
refresh_interval: '1s',
// Bump priority so that recovery happens before newer indices
priority: 10,
// Increase the fields limit beyond the default of 1000
Expand Down

0 comments on commit 7f12ed7

Please sign in to comment.