From 5565e5a7c5c95b8f0520bcdcda5771fd1fab8aeb Mon Sep 17 00:00:00 2001 From: Moti Asayag Date: Thu, 9 Mar 2017 14:32:18 +0200 Subject: [PATCH] Set timeout for inventory refresh calls The settings.yml contains timeout only for RHV service calls. However when services are invoked as part of the refresh process, no timeout is provided for these calls, letting the Net::HTTP 60 seconds default timeout to be the affective timeout. The 60 seconds default timeout is too short, therefore the default timeout for inventory service calls to RHV is set to 1 hour. http://bugzilla.redhat.com/1430722 --- config/settings.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/settings.yml b/config/settings.yml index af3788978d6..92a06e3f0ee 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -98,6 +98,8 @@ :ems: :ems_redhat: :resolve_ip_addresses: true + :inventory: + :read_timeout: 1.hour :service: :read_timeout: 1.hour :ems_kubernetes: