os-collect-config/os_collect_config
Steve Baker e5518c11c7 Set a timeout for all data fetches using requests
A timeout config value is added for each collector which uses requests
to fetch data, and this value is used for any requests calls.

Without a timeout a request may stall indefinitely and
os-collect-config will stop polling.

A timeout default of 10 seconds is chosen as the default. This is used
for both the connection timeout and the read timeout.

Change-Id: I4ad0065b5a85393105c6385a15653d7204b4f880
Closes-Bug: #1600652
2016-07-11 11:14:57 +12:00
..
tests Set a timeout for all data fetches using requests 2016-07-11 11:14:57 +12:00
__init__.py Splitting os-collect-config into its own repo. 2013-06-26 12:40:25 -07:00
cache.py Drop use of 'oslo' namespace package 2015-05-06 18:45:17 +00:00
cfn.py Set a timeout for all data fetches using requests 2016-07-11 11:14:57 +12:00
collect.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00
common.py Refactor to avoid monkeypatching requests 2013-07-01 22:28:01 -07:00
ec2.py Set a timeout for all data fetches using requests 2016-07-11 11:14:57 +12:00
exc.py Add support for zaqar transport 2015-08-26 11:33:10 +02:00
heat.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00
heat_local.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00
keystone.py Merge "Drop use of 'oslo' namespace package" 2015-05-29 09:40:47 +00:00
local.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00
merger.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00
request.py Set a timeout for all data fetches using requests 2016-07-11 11:14:57 +12:00
version.py Make --version work properly 2013-09-17 17:30:52 -07:00
zaqar.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00