From 1eac7f614e3972c749d0b370a28cec21658ef9ea Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sat, 27 Nov 2021 19:50:12 +0000 Subject: [PATCH] Increase length of time for write timeout --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index 1368c4ba..5542857e 100644 --- a/web/web.go +++ b/web/web.go @@ -33,7 +33,7 @@ func Setup(opts *cnf.Options) (err error) { s.SetName("web") s.SetIdleTimeout("5s") s.SetReadTimeout("30s") - s.SetWriteTimeout("60s") + s.SetWriteTimeout("300s") s.SetHTTPErrorHandler(errors) s.Logger().SetLogger(log.Instance())