Skip to content

Commit

Permalink
Set timeout for inventory refresh calls
Browse files Browse the repository at this point in the history
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
  • Loading branch information
masayag committed Mar 9, 2017
1 parent 0b5e558 commit 5565e5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
:ems:
:ems_redhat:
:resolve_ip_addresses: true
:inventory:
:read_timeout: 1.hour
:service:
:read_timeout: 1.hour
:ems_kubernetes:
Expand Down

0 comments on commit 5565e5a

Please sign in to comment.