From a28f99d78d1f5cddbe44f0b5fa51709b348b3cf5 Mon Sep 17 00:00:00 2001 From: Boden R Date: Fri, 5 Feb 2016 06:08:50 -0700 Subject: [PATCH] NSX-v3 sensible HTTP connection defaults This patch changes the defaults for the retries and http_timeout conf properties in the nsx_v3 group of nsx.ini. backport: liberty Change-Id: I971701524e68a30fec580ef27faccdde46ccfd68 Closes-Bug: #1540463 --- etc/nsx.ini | 2 +- vmware_nsx/common/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/nsx.ini b/etc/nsx.ini index 4911d78587..5159d271bb 100644 --- a/etc/nsx.ini +++ b/etc/nsx.ini @@ -356,7 +356,7 @@ # insecure = True # The time in seconds before aborting a HTTP connection to a NSX manager. -# http_timeout = 75 +# http_timeout = 10 # The time in seconds before aborting a HTTP read response from a NSX manager. # http_read_timeout = 180 diff --git a/vmware_nsx/common/config.py b/vmware_nsx/common/config.py index 66c0e9b95f..6dd7989a21 100644 --- a/vmware_nsx/common/config.py +++ b/vmware_nsx/common/config.py @@ -218,7 +218,7 @@ nsx_v3_opts = [ '"ca_file" will be used or if unsest the default ' 'system root CAs will be used.')), cfg.IntOpt('http_timeout', - default=75, + default=10, help=_('Time before aborting a HTTP connection to a ' 'NSX manager.')), cfg.IntOpt('http_read_timeout',