Changing the value type of http_connect_timeout
The value type of http_connect_timeout definition is changed from Bool to Int value. Python treats a value more than 1 as True but oslo config defines Boolean values as 'true, '1', 'yes' and 'on'. So http_connect_timeout is only configured 1 or None. Change-Id: I53075cc04d0ccea543f8e657279534208ed03058 Closes-bug: #1368545
This commit is contained in:
parent
4434a77e7c
commit
c1eef68186
|
@ -254,10 +254,10 @@ _OPTS = [
|
|||
help='Do not handle authorization requests within the'
|
||||
' middleware, but delegate the authorization decision to'
|
||||
' downstream WSGI components'),
|
||||
cfg.BoolOpt('http_connect_timeout',
|
||||
default=None,
|
||||
help='Request timeout value for communicating with Identity'
|
||||
' API server.'),
|
||||
cfg.IntOpt('http_connect_timeout',
|
||||
default=None,
|
||||
help='Request timeout value for communicating with Identity'
|
||||
' API server.'),
|
||||
cfg.IntOpt('http_request_max_retries',
|
||||
default=3,
|
||||
help='How many times are we trying to reconnect when'
|
||||
|
|
Loading…
Reference in New Issue