diff --git a/cmd/telefonistka/server.go b/cmd/telefonistka/server.go index 1b3e8f96..18223573 100644 --- a/cmd/telefonistka/server.go +++ b/cmd/telefonistka/server.go @@ -65,8 +65,8 @@ func serve() { srv := &http.Server{ Handler: mux, Addr: ":8080", - ReadTimeout: 120 * time.Second, - WriteTimeout: 120 * time.Second, + ReadTimeout: 10 * time.Second, + WriteTimeout: 10 * time.Second, } log.Infoln("server started")