Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions data/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2505,6 +2505,24 @@ write DB. Most people should not change this setting.
Set to \`0\` to disable rotation.`
},

fts_flatcurve_optimize_density_pct: {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

percentage

default: 25,
values: setting_types.UINT,
plugin: 'fts-flatcurve',
advanced: true,
seealso: [ 'fts_flatcurve_rotate_count' ],
text: `
When an index shard's message count falls below this percentage of
rotate_count, the mailbox is scheduled for deferred optimization.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of [[setting,fts_flatcurve_rotate_count]], ...

This helps prevent accumulation of sparse shards that degrade
mailbox open performance.

Set to \`0\` to disable density-based optimization.

This optimization requires [[setting,fts_flatcurve_rotate_count]] to be
enabled.`
},

fts_flatcurve_substring_search: {
default: 'no',
values: setting_types.BOOLEAN,
Expand Down
Loading