Skip to content

Commit

Permalink
feat: set longer polling timeouts for filestore DeleteInstance and De…
Browse files Browse the repository at this point in the history
…leteSnapshot

PiperOrigin-RevId: 456849206
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 23, 2022
1 parent 23f1a15 commit fc6a76e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion google/cloud/filestore/v1beta1/file_gapic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,25 @@ interfaces:
# The fully qualified name of the API interface.
- name: google.cloud.filestore.v1beta1.CloudFilestoreManager
methods:
# Both CreateInstance and DeleteSnapshot can take a long time to complete.
# The default client-side timeouts cause the client to give up on the request early,
# so the following configuration increases it:
# See go/client-self-service#configure-long-running-operation-polling-timeouts-optional
- name: CreateInstance
# See go/client-self-service#configure-long-running-operation-polling-timeouts-optional
long_running:
initial_poll_delay_millis: 60000 # 1 minutes
poll_delay_multiplier: 1.5
max_poll_delay_millis: 360000 # 6 minutes
total_poll_timeout_millis: 7200000 # 120 minutes
- name: DeleteSnapshot
long_running:
initial_poll_delay_millis: 60000 # 1 minutes
poll_delay_multiplier: 1.5
max_poll_delay_millis: 360000 # 6 minutes
total_poll_timeout_millis: 7200000 # 120 minutes
- name: DeleteInstance
long_running:
initial_poll_delay_millis: 60000 # 1 minutes
poll_delay_multiplier: 1.5
max_poll_delay_millis: 360000 # 6 minutes
total_poll_timeout_millis: 900000 # 15 minutes

0 comments on commit fc6a76e

Please sign in to comment.