From 59f1ce618593ecf3fcb2d118986a5b8474f47958 Mon Sep 17 00:00:00 2001 From: dkwon17-test Date: Fri, 4 Apr 2025 21:11:13 +0000 Subject: [PATCH] Update server timeouts Signed-off-by: dkwon17-test --- pkg/constants/limits.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/constants/limits.go b/pkg/constants/limits.go index 13bd66d..55012b0 100644 --- a/pkg/constants/limits.go +++ b/pkg/constants/limits.go @@ -15,6 +15,6 @@ import "time" const ( MaxBodyBytes = 1 << 20 // 1 MiB MaxHeaderBytes = 16 << 10 // 16 KiB - ServerReadTimeout = 3 * time.Second - ServerWriteTimeout = 3 * time.Second + ServerReadTimeout = 10 * time.Second + ServerWriteTimeout = 10 * time.Second )