From 8906c94791c5c92fb75d1307b1c5799bbefac62c 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 e518ab8..89522cb 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