diff --git a/daemon/server.go b/daemon/server.go index 6ac49bda..d32cd687 100644 --- a/daemon/server.go +++ b/daemon/server.go @@ -25,8 +25,8 @@ func newServer(cfg *config.Config, store *storage.Storage, pool *scheduler.Worke certDomain := cfg.CertDomain() certCache := cfg.CertCache() server := &http.Server{ - ReadTimeout: 5 * time.Second, - WriteTimeout: 10 * time.Second, + ReadTimeout: 30 * time.Second, + WriteTimeout: 30 * time.Second, IdleTimeout: 60 * time.Second, Addr: cfg.ListenAddr(), Handler: routes(cfg, store, feedHandler, pool, translator),