From 74f86aa0ae5670f0625d7a42fb232cde4dd0f76c Mon Sep 17 00:00:00 2001 From: Doge Date: Fri, 11 Oct 2024 07:06:54 +0300 Subject: [PATCH] congestion/cubic.go: increased max window to 10000 fully sized packets --- internal/congestion/cubic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/congestion/cubic.go b/internal/congestion/cubic.go index 8c8e19f..240d722 100644 --- a/internal/congestion/cubic.go +++ b/internal/congestion/cubic.go @@ -10,7 +10,7 @@ import ( const ( initialWindow = protocol.MaxPacketSize * 32 - maxWindow = 1000000 + maxWindow = protocol.MaxPacketSize * 10000 cubicC = 0.7 cubicBeta = 0.4