From cc281f35339820845c1428f7ee5b49e3301ff024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sat, 8 Aug 2020 22:35:25 -0700 Subject: [PATCH] Increase http server timeout values --- service/httpd/httpd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/httpd/httpd.go b/service/httpd/httpd.go index 51bbb093..21942458 100644 --- a/service/httpd/httpd.go +++ b/service/httpd/httpd.go @@ -35,9 +35,9 @@ func Serve(store *storage.Storage, pool *worker.Pool, feedHandler *feed.Handler) certCache := config.Opts.CertCache() listenAddr := config.Opts.ListenAddr() server := &http.Server{ - ReadTimeout: 30 * time.Second, - WriteTimeout: 30 * time.Second, - IdleTimeout: 60 * time.Second, + ReadTimeout: 300 * time.Second, + WriteTimeout: 300 * time.Second, + IdleTimeout: 300 * time.Second, Handler: setupHandler(store, feedHandler, pool), }