Change the min value of pool_retry_max to 1
Value of 0 causes the pool to fail before it attempts to connect to ldap, raising MaxConnectionReachedError. Change-Id: Ia8450dc45dad5ceb4661807f51de66b5d70a6207
This commit is contained in:
parent
771c943ad2
commit
f639c40534
@ -411,11 +411,11 @@ use_pool` is also enabled.
|
|||||||
pool_retry_max = cfg.IntOpt(
|
pool_retry_max = cfg.IntOpt(
|
||||||
'pool_retry_max',
|
'pool_retry_max',
|
||||||
default=3,
|
default=3,
|
||||||
min=0,
|
min=1,
|
||||||
help=utils.fmt("""
|
help=utils.fmt("""
|
||||||
The maximum number of times to attempt reconnecting to the LDAP server before
|
The maximum number of times to attempt connecting to the LDAP server before
|
||||||
aborting. A value of zero prevents retries. This option has no effect unless
|
aborting. A value of one makes only one connection attempt.
|
||||||
`[ldap] use_pool` is also enabled.
|
This option has no effect unless `[ldap] use_pool` is also enabled.
|
||||||
"""))
|
"""))
|
||||||
|
|
||||||
pool_retry_delay = cfg.FloatOpt(
|
pool_retry_delay = cfg.FloatOpt(
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Change the min value of pool_retry_max to 1. Setting this value to 0
|
||||||
|
caused the pool to fail before connecting to ldap, always raising
|
||||||
|
MaxConnectionReachedError.
|
Loading…
Reference in New Issue
Block a user