aboutsummaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-05-03 11:55:46 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-05-03 11:55:46 +0000
commitccf605c31c9f3fefc0093b8bbfb0e2ed3bec531c (patch)
treeb8787dd93960c00fac08be6dab950c7a9274ae6d /searchcommon
parent989e9778f3de1a31a9d1c77f2351d82e4121adc5 (diff)
Update _maxDeadBytesRatio to reflect current default.
Diffstat (limited to 'searchcommon')
-rw-r--r--searchcommon/src/vespa/searchcommon/common/compaction_strategy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcommon/src/vespa/searchcommon/common/compaction_strategy.h b/searchcommon/src/vespa/searchcommon/common/compaction_strategy.h
index 1c680d91da7..1d52e4bf659 100644
--- a/searchcommon/src/vespa/searchcommon/common/compaction_strategy.h
+++ b/searchcommon/src/vespa/searchcommon/common/compaction_strategy.h
@@ -16,7 +16,7 @@ private:
double _maxDeadAddressSpaceRatio; // Max ratio of dead address space before compaction
public:
CompactionStrategy() noexcept
- : _maxDeadBytesRatio(0.15),
+ : _maxDeadBytesRatio(0.05),
_maxDeadAddressSpaceRatio(0.2)
{
}