Skip to content

Commit 95cb429

Browse files
committed
gbn: set default resend & handshake timeouts to 1s
1 parent d10b72b commit 95cb429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gbn/timeout_manager.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
)
88

99
const (
10-
defaultHandshakeTimeout = 100 * time.Millisecond
11-
defaultResendTimeout = 100 * time.Millisecond
12-
minimumResendTimeout = 100 * time.Millisecond
10+
defaultHandshakeTimeout = 1000 * time.Millisecond
11+
defaultResendTimeout = 1000 * time.Millisecond
12+
minimumResendTimeout = 1000 * time.Millisecond
1313
defaultFinSendTimeout = 1000 * time.Millisecond
1414
defaultResendMultiplier = 5
1515
DefaultSendTimeout = math.MaxInt64

0 commit comments

Comments
 (0)