From 543c1049dd64d6a001bdee7321cf8d82e5f833d9 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 15 Jun 2020 10:14:55 +0700 Subject: [PATCH] increase the minimum pacing delay to 1ms --- internal/protocol/params.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/protocol/params.go b/internal/protocol/params.go index 838010f92..6bdfd0d33 100644 --- a/internal/protocol/params.go +++ b/internal/protocol/params.go @@ -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 200μs, 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.