Skip to content

Commit

Permalink
feat(clients): endpoint level timeout part 2 [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4318

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Thomas Raffray <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
3 people committed Jan 13, 2025
1 parent faaa38f commit 695e40c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/algolia/api/ingestion_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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]

Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 695e40c

Please sign in to comment.