Skip to content

Commit

Permalink
Fixes #36737 - use timeouts also for smart-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Sep 12, 2023
1 parent 0db661c commit 56f8a29
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/services/katello/pulp3/repository_mirror.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,12 @@ def sync(options = {})

def common_remote_options
remote_options = {
name: backend_object_name
name: backend_object_name,
total_timeout: Setting[:sync_total_timeout],
connect_timeout: Setting[:sync_connect_timeout_v2],
sock_connect_timeout: Setting[:sync_sock_connect_timeout],
sock_read_timeout: Setting[:sync_sock_read_timeout],
rate_limit: Setting[:download_rate_limit]
}
remote_options.merge!({download_concurrency: repo.download_concurrency}) if repo.download_concurrency
remote_options.merge!(ssl_remote_options)
Expand Down

0 comments on commit 56f8a29

Please sign in to comment.