From 325e44dee704c67b4ea37f7ffa389efcddf707db Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Tue, 17 Jan 2023 12:33:15 +0800 Subject: [PATCH] chore: Update const type --- transport/tuic/congestion/bbr_sender.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/transport/tuic/congestion/bbr_sender.go b/transport/tuic/congestion/bbr_sender.go index 6c862b80..5adbd0b7 100644 --- a/transport/tuic/congestion/bbr_sender.go +++ b/transport/tuic/congestion/bbr_sender.go @@ -14,11 +14,11 @@ import ( const ( // InitialMaxDatagramSize is the default maximum packet size used in QUIC for congestion window computations in bytes. - InitialMaxDatagramSize = 1252 - InitialCongestionWindow congestion.ByteCount = 10 - InitialPacketSizeIPv4 = 1252 - InitialPacketSizeIPv6 = 1232 - DefaultBBRMaxCongestionWindow congestion.ByteCount = 10000 + InitialMaxDatagramSize = 1252 + InitialPacketSizeIPv4 = 1252 + InitialPacketSizeIPv6 = 1232 + InitialCongestionWindow = 10 + DefaultBBRMaxCongestionWindow = 10000 ) const (