Bump up timeouts

This commit is contained in:
Your Name 2020-08-21 13:14:46 -04:00
parent cfecb83eb5
commit 4adacb6057
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ func main() {
frontendProxy := httputil.NewSingleHostReverseProxy(rpURL) frontendProxy := httputil.NewSingleHostReverseProxy(rpURL)
srv := &http.Server{ srv := &http.Server{
ReadTimeout: 2 * time.Second, ReadTimeout: 60 * time.Second,
WriteTimeout: 3 * time.Second, WriteTimeout: 60 * time.Second,
IdleTimeout: 30 * time.Second, IdleTimeout: 30 * time.Second,
ReadHeaderTimeout: 20 * time.Second, ReadHeaderTimeout: 20 * time.Second,
} }