refactor: use minutes as time durations

This commit is contained in:
HeshamTB 2023-09-22 22:59:28 +03:00
parent a4cc579fe3
commit 19c2845222
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}