lib/google/cloud/tasks/v2/cloud_tasks/client.rb in google-cloud-tasks-v2-0.2.3 vs lib/google/cloud/tasks/v2/cloud_tasks/client.rb in google-cloud-tasks-v2-0.2.4
- old
+ new
@@ -69,19 +69,19 @@
default_config.rpcs.list_queues.timeout = 10.0
default_config.rpcs.list_queues.retry_policy = {
initial_delay: 0.1,
max_delay: 10.0,
multiplier: 1.3,
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [4, 14]
}
default_config.rpcs.get_queue.timeout = 10.0
default_config.rpcs.get_queue.retry_policy = {
initial_delay: 0.1,
max_delay: 10.0,
multiplier: 1.3,
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [4, 14]
}
default_config.rpcs.create_queue.timeout = 10.0
default_config.rpcs.update_queue.timeout = 10.0
@@ -89,11 +89,11 @@
default_config.rpcs.delete_queue.timeout = 10.0
default_config.rpcs.delete_queue.retry_policy = {
initial_delay: 0.1,
max_delay: 10.0,
multiplier: 1.3,
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [4, 14]
}
default_config.rpcs.purge_queue.timeout = 10.0
default_config.rpcs.pause_queue.timeout = 10.0
@@ -103,46 +103,46 @@
default_config.rpcs.get_iam_policy.timeout = 10.0
default_config.rpcs.get_iam_policy.retry_policy = {
initial_delay: 0.1,
max_delay: 10.0,
multiplier: 1.3,
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [4, 14]
}
default_config.rpcs.set_iam_policy.timeout = 10.0
default_config.rpcs.test_iam_permissions.timeout = 10.0
default_config.rpcs.test_iam_permissions.retry_policy = {
initial_delay: 0.1,
max_delay: 10.0,
multiplier: 1.3,
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [4, 14]
}
default_config.rpcs.list_tasks.timeout = 10.0
default_config.rpcs.list_tasks.retry_policy = {
initial_delay: 0.1,
max_delay: 10.0,
multiplier: 1.3,
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [4, 14]
}
default_config.rpcs.get_task.timeout = 10.0
default_config.rpcs.get_task.retry_policy = {
initial_delay: 0.1,
max_delay: 10.0,
multiplier: 1.3,
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [4, 14]
}
default_config.rpcs.create_task.timeout = 10.0
default_config.rpcs.delete_task.timeout = 10.0
default_config.rpcs.delete_task.retry_policy = {
initial_delay: 0.1,
max_delay: 10.0,
multiplier: 1.3,
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
+ retry_codes: [4, 14]
}
default_config.rpcs.run_task.timeout = 10.0
default_config