diff --git a/main.go b/main.go index 48368b9e..5b56615a 100644 --- a/main.go +++ b/main.go @@ -38,8 +38,8 @@ func RunServer(conf *config.Config) { // Set up server, srv := &http.Server{ - WriteTimeout: 15 * time.Second, - ReadTimeout: 15 * time.Second, + WriteTimeout: 24 * time.Second, + ReadTimeout: 8 * time.Second, } l, err := network.CreateHTTPListener(conf) log.CheckError(err)