Skip to content

Commit

Permalink
Increase inFlighhtBytesLowWatermark
Browse files Browse the repository at this point in the history
Expecting us to be able to react within 2ms of an arriving packet
is unrealistic. Updated to 100ms to proved a margin so that the TCP
connection doesn't become idle incase of a minuscule amount of jitter.
  • Loading branch information
karknu committed Jul 1, 2020
1 parent 901ffc8 commit ad71db7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -69,7 +69,7 @@ calculatePeerFetchInFlightLimits PeerGSV {
seconds = realToFrac
--FIXME: s is now a function of bytes, not unit seconds / octet

d = 2e-3 -- 2 milliseconds
d = 1e-1 -- 100 milliseconds
-- But note that the minimum here is based on the assumption that we can
-- react as the /leading/ edge of the low watermark arrives, but in fact
-- we can only react when the /trailing/ edge arrives. So when we
Expand Down

0 comments on commit ad71db7

Please sign in to comment.