From 3fccffa8e2365ef1e36cee7e9924c54b4b69a2ea Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 24 Jun 2022 14:56:35 +0000 Subject: [PATCH] feat: set longer polling timeouts for filestore DeleteInstance and DeleteSnapshot (#195) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 456849206 Source-Link: https://github.com/googleapis/googleapis/commit/fc6a76e0d798eefab420aebad7d1500a8c5d6168 Source-Link: https://github.com/googleapis/googleapis-gen/commit/675d5266b9f35cf0e05370a540fd1db2aeceada2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjc1ZDUyNjZiOWYzNWNmMGUwNTM3MGE1NDBmZDFkYjJhZWNlYWRhMiJ9 --- .../v1beta1/stub/CloudFilestoreManagerStubSettings.java | 6 +++--- 1 file changed, 3 insertions(+), 3 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 97907a05..dcfc080c 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 @@ -824,13 +824,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