db: remove idle_timeout

... because it was deprecated during Train cycle[1] in favor of the new
connection_recycle_time parameter.

[1] 3eb0e70947

Change-Id: Iecd45f2e551eb46d3d8b839e5911898591272705
This commit is contained in:
Takashi Kajinami 2022-05-18 13:38:17 +09:00
parent 4fcbddc632
commit 61b3426457
2 changed files with 4 additions and 9 deletions

View File

@ -109,10 +109,6 @@
#
# DEPRECATED PARAMETERS
#
# [*idle_timeout*]
# (Optional) Timeout before idle SQL connections are reaped.
# Defaults to undef
#
# [*min_pool_size*]
# (Optional) Minimum number of SQL connections to keep open in a pool.
# Defaults to undef
@ -146,7 +142,6 @@ define oslo::db(
$db_max_retries = $::os_service_default,
$mysql_enable_ndb = $::os_service_default,
# DEPRCATED PARAMETERS
$idle_timeout = undef,
$min_pool_size = undef,
$use_tpool = undef,
) {
@ -194,10 +189,6 @@ define oslo::db(
}
}
if $idle_timeout != undef {
warning('The idle_timeout parameter is deprecated. Please use connection_recycle_time instead.')
}
if $min_pool_size {
warning('The min_pool_size parameter is deprecated, and will be removed in a future release.')
}

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
The ``oslo::db::idel_timeout`` parameter has been removed.