Merge pull request #2605 from lucas-clemente/increase-min-pacing-delay

increase the minimum pacing delay to 1ms
This commit is contained in:
Marten Seemann
2020-06-16 11:29:27 +07:00
committed by GitHub

View File

@@ -132,8 +132,8 @@ const MaxNumAckRanges = 500
// MinPacingDelay is the minimum duration that is used for packet pacing
// If the packet packing frequency is higher, multiple packets might be sent at once.
// Example: For a packet pacing delay of 20 microseconds, we would send 5 packets at once, wait for 100 microseconds, and so forth.
const MinPacingDelay time.Duration = 100 * time.Microsecond
// Example: For a packet pacing delay of 20s, we would send 5 packets at once, wait for 1ms, and so forth.
const MinPacingDelay = time.Millisecond
// DefaultConnectionIDLength is the connection ID length that is used for multiplexed connections
// if no other value is configured.