adjust flow to iterate speed

higher ft1sha1 iterate interval (not fixing it yet)
This commit is contained in:
Green Sky
2024-12-16 12:52:33 +01:00
parent b35babe3f8
commit 6d7d643207
2 changed files with 6 additions and 4 deletions

View File

@@ -7,7 +7,9 @@
float FlowOnly::getCurrentDelay(void) const {
// below 1ms is useless
return std::clamp(_rtt_ema, 0.001f, RTT_MAX);
//return std::clamp(_rtt_ema, 0.001f, RTT_MAX);
// the current iterate rate min is 5ms
return std::clamp(_rtt_ema, 0.005f, RTT_MAX);
}
void FlowOnly::addRTT(float new_delay) {