Skip to content
Permalink
Browse files
fix(transport): increase ReadIdleTimeout (#1028)
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 b3cd013353079b19a61d4e5a89c3385c586ddbad
Showing with 1 addition and 1 deletion.
  1. +1 −1 transport/http/configure_http2_go116.go
@@ -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.