From 19c2845222b1c0eabd13e027bfa99d547e939503 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Fri, 22 Sep 2023 22:59:28 +0300 Subject: [PATCH] refactor: use minutes as time durations --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 8e78958..5fb5683 100644 --- a/main.go +++ b/main.go @@ -367,8 +367,8 @@ func main() { wrappedHandler := NewLogger(handler) srv := http.Server{ - ReadTimeout: 60 * time.Second, - WriteTimeout: 60 * time.Second, + ReadTimeout: 1 * time.Minute, + WriteTimeout: 1 * time.Minute, Addr: ":" + DEFAULT_HTTP_PORT, Handler: wrappedHandler, }