lib/google/cloud/vision/v1p3beta1/image_annotator/client.rb in google-cloud-vision-v1p3beta1-0.2.3 vs lib/google/cloud/vision/v1p3beta1/image_annotator/client.rb in google-cloud-vision-v1p3beta1-0.2.4
- old
+ new
@@ -70,10 +70,10 @@
default_config.rpcs.batch_annotate_images.timeout = 600.0
default_config.rpcs.batch_annotate_images.retry_policy = {
initial_delay: 0.1,
max_delay: 60.0,
multiplier: 1.3,
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
+ retry_codes: [14, 4]
}
default_config.rpcs.async_batch_annotate_files.timeout = 600.0
default_config.rpcs.async_batch_annotate_files.retry_policy = {
initial_delay: 0.1,