From 95cb4299933ea2d49983cdf6237f140906c6e333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Tigerstr=C3=B6m?= Date: Tue, 31 Oct 2023 01:09:13 +0100 Subject: [PATCH] gbn: set default resend & handshake timeouts to 1s --- gbn/timeout_manager.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gbn/timeout_manager.go b/gbn/timeout_manager.go index e518ab84..89522cb3 100644 --- a/gbn/timeout_manager.go +++ b/gbn/timeout_manager.go @@ -7,9 +7,9 @@ import ( ) const ( - defaultHandshakeTimeout = 100 * time.Millisecond - defaultResendTimeout = 100 * time.Millisecond - minimumResendTimeout = 100 * time.Millisecond + defaultHandshakeTimeout = 1000 * time.Millisecond + defaultResendTimeout = 1000 * time.Millisecond + minimumResendTimeout = 1000 * time.Millisecond defaultFinSendTimeout = 1000 * time.Millisecond defaultResendMultiplier = 5 DefaultSendTimeout = math.MaxInt64