summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp b/searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp
index b48f1abfb51..4e1bc62b790 100644
--- a/searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp
+++ b/searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp
@@ -126,8 +126,7 @@ FastS_PartitionMap::LinkIn(FastS_EngineBase *engine)
_childmaxnodesSinceReload = std::max(_childmaxnodesSinceReload, _childmaxnodesNow);
_childnodes += engine->_reported._actNodes;
if (part._maxpartsNow <= engine->_reported._maxParts) {
- _childmaxpartsNow += engine->_reported._maxParts
- - part._maxpartsNow;
+ _childmaxpartsNow += engine->_reported._maxParts - part._maxpartsNow;
_childmaxpartsSinceReload += std::max(_childmaxpartsSinceReload, _childmaxpartsNow);
part._maxpartsNow = engine->_reported._maxParts;
}
@@ -196,7 +195,7 @@ FastS_PlainDataSet::FastS_PlainDataSet(FastS_AppContext *appCtx,
FastS_DataSetDesc *desc)
: FastS_DataSetBase(appCtx, desc),
_partMap(desc),
- _stateOfRows(_partMap.getNumRows(), 1.0, desc->GetQueryDistributionMode().getLatencyDecayRate()),
+ _stateOfRows(_partMap.getNumRows(), 0.010, desc->GetQueryDistributionMode().getLatencyDecayRate()),
_MHPN_log(),
_slowQueryLimitFactor(desc->GetSlowQueryLimitFactor()),
_slowQueryLimitBias(desc->GetSlowQueryLimitBias()),