lib/google/cloud/dialogflow/v2/sessions/client.rb in google-cloud-dialogflow-v2-0.6.3 vs lib/google/cloud/dialogflow/v2/sessions/client.rb in google-cloud-dialogflow-v2-0.6.4

- old
+ new

@@ -66,10 +66,24 @@ break parent_const.configure if parent_const&.respond_to? :configure namespace.pop end default_config = Client::Configuration.new parent_config + default_config.timeout = 60.0 + default_config.retry_policy = { + initial_delay: 0.1, + max_delay: 60.0, + multiplier: 1.3, + retry_codes: ["UNAVAILABLE"] + } + default_config.rpcs.detect_intent.timeout = 220.0 + default_config.rpcs.detect_intent.retry_policy = { + initial_delay: 0.1, + max_delay: 60.0, + multiplier: 1.3, + retry_codes: ["UNAVAILABLE"] + } default_config.rpcs.streaming_detect_intent.timeout = 220.0 default_config end