From 695e40c99001887ca140de7bb0c23f8ef0ccc619 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Mon, 13 Jan 2025 10:57:06 +0000 Subject: [PATCH] feat(clients): endpoint level timeout part 2 [skip-bc] (generated) https://github.com/algolia/api-clients-automation/pull/4318 Co-authored-by: algolia-bot Co-authored-by: Thomas Raffray Co-authored-by: Pierre Millot --- lib/algolia/api/ingestion_client.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/algolia/api/ingestion_client.rb b/lib/algolia/api/ingestion_client.rb index d6d5d4fe..2faf95b9 100644 --- a/lib/algolia/api/ingestion_client.rb +++ b/lib/algolia/api/ingestion_client.rb @@ -2158,6 +2158,7 @@ def push_task_with_http_info(task_id, push_task_payload, watch = nil, request_op header_params = {} header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil? request_options[:timeout] ||= 180000 + request_options[:connect_timeout] ||= 180000 post_body = request_options[:debug_body] || @api_client.object_to_http_body(push_task_payload) @@ -2643,6 +2644,7 @@ def trigger_docker_source_discover_with_http_info(source_id, request_options = { header_params = {} header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil? request_options[:timeout] ||= 180000 + request_options[:connect_timeout] ||= 180000 post_body = request_options[:debug_body] @@ -3122,6 +3124,7 @@ def validate_source_with_http_info(source_create = nil, request_options = {}) header_params = {} header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil? request_options[:timeout] ||= 180000 + request_options[:connect_timeout] ||= 180000 post_body = request_options[:debug_body] || @api_client.object_to_http_body(source_create) @@ -3176,6 +3179,7 @@ def validate_source_before_update_with_http_info(source_id, source_update, reque header_params = {} header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil? request_options[:timeout] ||= 180000 + request_options[:connect_timeout] ||= 180000 post_body = request_options[:debug_body] || @api_client.object_to_http_body(source_update)