Lower DELAY_CC_WORST_FIT_CANDIDACY_SECONDS for LowLatencyWorkload

This commit is contained in:
sfc-gh-tclinkenbeard 2020-11-09 19:15:51 -08:00
parent 9cedac57b0
commit aa4652d965
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ struct LowLatencyWorkload : TestWorkload {
virtual std::string description() { return "LowLatency"; }
virtual Future<Void> setup( Database const& cx ) {
if (g_network->isSimulated()) {
ASSERT(const_cast<ServerKnobs*>(SERVER_KNOBS)->setKnob("min_delay_cc_worst_fit_candidacy_seconds", "5"));
ASSERT(const_cast<ServerKnobs*>(SERVER_KNOBS)->setKnob("max_delay_cc_worst_fit_candidacy_seconds", "10"));
}
return Void();
}