From 4adacb6057e8be2ab0e3ee51beaf1b8458631f61 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 21 Aug 2020 13:14:46 -0400 Subject: [PATCH] Bump up timeouts --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 7329572..c669ddc 100644 --- a/main.go +++ b/main.go @@ -53,8 +53,8 @@ func main() { frontendProxy := httputil.NewSingleHostReverseProxy(rpURL) srv := &http.Server{ - ReadTimeout: 2 * time.Second, - WriteTimeout: 3 * time.Second, + ReadTimeout: 60 * time.Second, + WriteTimeout: 60 * time.Second, IdleTimeout: 30 * time.Second, ReadHeaderTimeout: 20 * time.Second, }