From 89e84283a4850560f00b1ec6a680d83b1576889a Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 21 Nov 2019 00:44:09 +0000 Subject: [PATCH] Increase keepalive idle timeouts for loadbalancers --- web/web.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/web.go b/web/web.go index 4ea67b73..b6a494c4 100644 --- a/web/web.go +++ b/web/web.go @@ -31,9 +31,9 @@ func Setup(opts *cnf.Options) (err error) { routes(s) s.SetName("web") - s.SetIdleTimeout("60s") - s.SetReadTimeout("60s") - s.SetWriteTimeout("60s") + s.SetIdleTimeout("650s") + s.SetReadTimeout("10s") + s.SetWriteTimeout("10s") s.SetHTTPErrorHandler(errors) s.Logger().SetLogger(log.Instance())