summaryrefslogtreecommitdiff
path: root/oslo_db/options.py
diff options
context:
space:
mode:
authorDaniel Bengtsson <dbengt@redhat.com>2021-03-03 12:59:53 +0100
committerDaniel Bengtsson <dbengt@redhat.com>2021-06-23 13:04:45 +0200
commita857b83c9c28d1fe461d1c06549607c48acf337b (patch)
tree356e8922f76b66d1955d72e86c9d7471ecbfac0c /oslo_db/options.py
parent3400d2df482c01ba1ea0686c8922ccca73fcdd57 (diff)
downloadoslo-db-a857b83c9c28d1fe461d1c06549607c48acf337b.tar.gz
Remove the idle_timeout option.
The option was replaced 4 years ago[1] by connection_recycle_time. The option is not anymore present in sqlalchemy. It's the good time to remove it. [1] https://opendev.org/openstack/oslo.db/commit/6634218415906192fca891362b8fa0ac50b66284 Change-Id: I0c26c3e14ad9ad9a4f30af80757e369d6042441a
Diffstat (limited to 'oslo_db/options.py')
-rw-r--r--oslo_db/options.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/oslo_db/options.py b/oslo_db/options.py
index b20d0b7..bb84e61 100644
--- a/oslo_db/options.py
+++ b/oslo_db/options.py
@@ -51,18 +51,6 @@ database_opts = [
cfg.IntOpt(
'connection_recycle_time',
default=3600,
- deprecated_opts=[
- cfg.DeprecatedOpt('idle_timeout',
- group="DATABASE"),
- cfg.DeprecatedOpt('idle_timeout',
- group="database"),
- cfg.DeprecatedOpt('sql_idle_timeout',
- group='DEFAULT'),
- cfg.DeprecatedOpt('sql_idle_timeout',
- group='DATABASE'),
- cfg.DeprecatedOpt('idle_timeout',
- group='sql')
- ],
help='Connections which have been present in the connection '
'pool longer than this number of seconds will be replaced '
'with a new one the next time they are checked out from '