lib/google/cloud/dataproc/v1/cluster_controller/client.rb in google-cloud-dataproc-v1-0.2.3 vs lib/google/cloud/dataproc/v1/cluster_controller/client.rb in google-cloud-dataproc-v1-0.3.0
- old
+ new
@@ -67,50 +67,50 @@
default_config.rpcs.create_cluster.timeout = 300.0
default_config.rpcs.create_cluster.retry_policy = {
initial_delay: 0.1,
max_delay: 60.0,
multiplier: 1.3,
- retry_codes: ["UNAVAILABLE"]
+ retry_codes: [14]
}
default_config.rpcs.update_cluster.timeout = 300.0
default_config.rpcs.update_cluster.retry_policy = {
initial_delay: 0.1,
max_delay: 60.0,
multiplier: 1.3,
- retry_codes: ["UNAVAILABLE"]
+ retry_codes: [14]
}
default_config.rpcs.delete_cluster.timeout = 300.0
default_config.rpcs.delete_cluster.retry_policy = {
initial_delay: 0.1,
max_delay: 60.0,
multiplier: 1.3,
- retry_codes: ["UNAVAILABLE"]
+ retry_codes: [14]
}
default_config.rpcs.get_cluster.timeout = 300.0
default_config.rpcs.get_cluster.retry_policy = {
initial_delay: 0.1,
max_delay: 60.0,
multiplier: 1.3,
- retry_codes: ["INTERNAL", "DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [13, 4, 14]
}
default_config.rpcs.list_clusters.timeout = 300.0
default_config.rpcs.list_clusters.retry_policy = {
initial_delay: 0.1,
max_delay: 60.0,
multiplier: 1.3,
- retry_codes: ["INTERNAL", "DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [13, 4, 14]
}
default_config.rpcs.diagnose_cluster.timeout = 300.0
default_config.rpcs.diagnose_cluster.retry_policy = {
initial_delay: 0.1,
max_delay: 60.0,
multiplier: 1.3,
- retry_codes: ["UNAVAILABLE"]
+ retry_codes: [14]
}
default_config
end
yield @configure if block_given?