summaryrefslogtreecommitdiff
path: root/ceilometer/nova_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'ceilometer/nova_client.py')
-rw-r--r--ceilometer/nova_client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ceilometer/nova_client.py b/ceilometer/nova_client.py
index 298a6844..378143db 100644
--- a/ceilometer/nova_client.py
+++ b/ceilometer/nova_client.py
@@ -36,7 +36,7 @@ SERVICE_OPTS = [
cfg.CONF.register_opts(OPTS)
cfg.CONF.register_opts(SERVICE_OPTS, group='service_types')
-
+cfg.CONF.import_opt('http_timeout', 'ceilometer.service')
cfg.CONF.import_group('service_credentials', 'ceilometer.service')
LOG = log.getLogger(__name__)
@@ -74,6 +74,7 @@ class Client(object):
bypass_url=bypass_url,
cacert=conf.os_cacert,
insecure=conf.insecure,
+ timeout=cfg.CONF.http_timeout,
http_log_debug=cfg.CONF.nova_http_log_debug,
no_cache=True)