Bump up timeouts
This commit is contained in:
parent
cfecb83eb5
commit
4adacb6057
4
main.go
4
main.go
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue