diff options
author | Erik Olof Gunnar Andersson <eandersson@blizzard.com> | 2018-04-29 19:17:56 -0700 |
---|---|---|
committer | Erik Olof Gunnar Andersson <eandersson@blizzard.com> | 2018-04-30 15:39:13 +0000 |
commit | eccb4ef22e9852e0080d24a747e0aeb65f004481 (patch) | |
tree | 4ad7cdd804a7bff716fe2617658b6f0c58ab164d | |
parent | e45ffc9bf415fc88d9644a80d92df4196628d85c (diff) | |
download | oslo-db-eccb4ef22e9852e0080d24a747e0aeb65f004481.tar.gz |
Deprecate min_pool_size
This option has for a long time done nothing in oslo.db
and sqlalchemy does not support this convention. As such I
recommend that we deprecate and eventually remove the option.
Closes-bug: #1764786
Change-Id: Ib07b7b4200b5cf3a34b8eed441e6754da7d446cf
-rw-r--r-- | oslo_db/options.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oslo_db/options.py b/oslo_db/options.py index 9a08552..58b4efd 100644 --- a/oslo_db/options.py +++ b/oslo_db/options.py @@ -73,6 +73,9 @@ database_opts = [ group='DEFAULT'), cfg.DeprecatedOpt('sql_min_pool_size', group='DATABASE')], + deprecated_for_removal=True, + deprecated_reason='The option to set the minimum pool ' + 'size is not supported by sqlalchemy.', help='Minimum number of SQL connections to keep open in a ' 'pool.'), cfg.IntOpt('max_pool_size', |