Skip to content

Commit 7f1de41

Browse files
authored
fix(sdl): set upper limit of read timeout to 30min (#1988)
Signed-off-by: Artur Troian <[email protected]> Co-authored-by: Artur Troian <[email protected]>
1 parent 7ecdeb2 commit 7f1de41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdl/v2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const (
3030
defaultMaxBodySize = uint32(1048576)
3131
upperLimitBodySize = uint32(104857600)
3232
defaultReadTimeout = uint32(60000)
33-
upperLimitReadTimeout = defaultReadTimeout
33+
upperLimitReadTimeout = defaultReadTimeout * 30
3434
defaultSendTimeout = uint32(60000)
3535
upperLimitSendTimeout = defaultSendTimeout
3636
defaultNextTries = uint32(3)

0 commit comments

Comments
 (0)