From 05dce7591b66fef4c5b261ba9c4bf4a27fa2d3b9 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 18 Aug 2022 14:00:21 +0000 Subject: [PATCH] fix: set longer polling timeouts for filestore RestoreInstance (#214) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 468309184 Source-Link: https://github.com/googleapis/googleapis/commit/260cd02ef1e881c3d59a64970fcd029fb5c5483e Source-Link: https://github.com/googleapis/googleapis-gen/commit/221f16a758abdda5642e7aa33b3e76438e198608 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjIxZjE2YTc1OGFiZGRhNTY0MmU3YWEzM2IzZTc2NDM4ZTE5ODYwOCJ9 fix: set longer polling timeouts for filestore UpdateInstance PiperOrigin-RevId: 466057148 Source-Link: https://github.com/googleapis/googleapis/commit/d89cf3d2baf2a84fdd486afb1f2ffaff2906b033 Source-Link: https://github.com/googleapis/googleapis-gen/commit/17aa4032d4c934fe5be44f8fe12bb96c8664494d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTdhYTQwMzJkNGM5MzRmZTViZTQ0ZjhmZTEyYmI5NmM4NjY0NDk0ZCJ9 --- .../stub/CloudFilestoreManagerStubSettings.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java b/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java index dcfc080c..fe0cde7a 100644 --- a/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java +++ b/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java @@ -776,13 +776,13 @@ private static Builder initDefaults(Builder builder) { .setPollingAlgorithm( OperationTimedPollAlgorithm.create( RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setInitialRetryDelay(Duration.ofMillis(60000L)) .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setMaxRetryDelay(Duration.ofMillis(360000L)) .setInitialRpcTimeout(Duration.ZERO) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(900000L)) .build())); builder @@ -800,13 +800,13 @@ private static Builder initDefaults(Builder builder) { .setPollingAlgorithm( OperationTimedPollAlgorithm.create( RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setInitialRetryDelay(Duration.ofMillis(60000L)) .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setMaxRetryDelay(Duration.ofMillis(360000L)) .setInitialRpcTimeout(Duration.ZERO) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(7200000L)) .build())); builder