Skip to content

Commit

Permalink
fix(specs): endpoint level timeout for ingestion (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4251

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Dec 18, 2024
1 parent 32d0e6a commit 97dc894
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 @@ -2151,6 +2151,7 @@ def push_task_with_http_info(task_id, push_task_payload, watch = nil, request_op
query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
header_params = {}
header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil?
request_options[:timeout] ||= 180000

post_body = request_options[:debug_body] || @api_client.object_to_http_body(push_task_payload)

Expand Down Expand Up @@ -2635,6 +2636,7 @@ def trigger_docker_source_discover_with_http_info(source_id, request_options = {
query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
header_params = {}
header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil?
request_options[:timeout] ||= 180000

post_body = request_options[:debug_body]

Expand Down Expand Up @@ -3113,6 +3115,7 @@ def validate_source_with_http_info(source_create = nil, request_options = {})
query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
header_params = {}
header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil?
request_options[:timeout] ||= 180000

post_body = request_options[:debug_body] || @api_client.object_to_http_body(source_create)

Expand Down Expand Up @@ -3166,6 +3169,7 @@ def validate_source_before_update_with_http_info(source_id, source_update, reque
query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
header_params = {}
header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil?
request_options[:timeout] ||= 180000

post_body = request_options[:debug_body] || @api_client.object_to_http_body(source_update)

Expand Down

0 comments on commit 97dc894

Please sign in to comment.