mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-01 10:45:56 +08:00
Merge pull request #4044 from sfc-gh-tclinkenbeard/fix-slow-sim-recovery
Lower DELAY_CC_WORST_FIT_CANDIDACY_SECONDS for LowLatencyWorkload
This commit is contained in:
commit
7cabe39aae
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user