Skip to content

Commit

Permalink
fix(transport): increase ReadIdleTimeout (#1028)
Browse files Browse the repository at this point in the history
Increase this value to comply with CFE rate limit on pings.

Closes googleapis/google-cloud-go#4121
  • Loading branch information
tritone committed May 18, 2021
1 parent f9bd89c commit b3cd013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/http/configure_http2_go116.go
Expand Up @@ -20,6 +20,6 @@ import (
func configureHTTP2(trans *http.Transport) {
http2Trans, err := http2.ConfigureTransports(trans)
if err == nil {
http2Trans.ReadIdleTimeout = time.Second * 15
http2Trans.ReadIdleTimeout = time.Second * 31
}
}

0 comments on commit b3cd013

Please sign in to comment.