Skip to content

Commit 67cd158

Browse files
Bump default request timeout to 90s (#4303) (#2769)
Signed-off-by: Modular Magician <[email protected]>
1 parent 361f4f6 commit 67cd158

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/4303.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
all: bump default request timeout to avoid conflicts if creating a resource takes longer than expected
3+
```

google-beta/retry_transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import (
4444
"google.golang.org/api/googleapi"
4545
)
4646

47-
const defaultRetryTransportTimeoutSec = 30
47+
const defaultRetryTransportTimeoutSec = 90
4848

4949
// NewTransportWithDefaultRetries constructs a default retryTransport that will retry common temporary errors
5050
func NewTransportWithDefaultRetries(t http.RoundTripper) *retryTransport {

0 commit comments

Comments
 (0)