Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Merge ef1209e into 25d32c6
Browse files Browse the repository at this point in the history
  • Loading branch information
mdvickst committed Jul 2, 2018
2 parents 25d32c6 + ef1209e commit 19c5f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rho/inventory_scan.py
Expand Up @@ -313,9 +313,9 @@ def inventory_scan(hosts_yml_path, facts_to_collect, report_path,
forks=forks,
vars=json.dumps(ansible_vars))

rho_host_scan_timeout = os.getenv('RHO_HOST_SCAN_TIMEOUT', 10)
rho_host_scan_timeout = os.getenv('RHO_HOST_SCAN_TIMEOUT', 20)
host_scan_timeout = ((len(hosts) // int(forks)) + 1) \
* rho_host_scan_timeout
* int(rho_host_scan_timeout)
utilities.log.info('Starting scan for group "%s" with %d systems'
' with timeout of %d minutes.',
group, len(hosts), host_scan_timeout)
Expand Down

0 comments on commit 19c5f51

Please sign in to comment.