Skip to content

Commit 3109588

Browse files
authored
Update server timeouts (#118)
Signed-off-by: dkwon17-test <[email protected]>
1 parent 30630e2 commit 3109588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/constants/limits.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ import "time"
1515
const (
1616
MaxBodyBytes = 1 << 20 // 1 MiB
1717
MaxHeaderBytes = 16 << 10 // 16 KiB
18-
ServerReadTimeout = 3 * time.Second
19-
ServerWriteTimeout = 3 * time.Second
18+
ServerReadTimeout = 10 * time.Second
19+
ServerWriteTimeout = 10 * time.Second
2020
)

0 commit comments

Comments
 (0)