Browse Source

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
Erik Olof Gunnar Andersson 11 months ago
parent
commit
eccb4ef22e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      oslo_db/options.py

+ 3
- 0
oslo_db/options.py View File

@@ -73,6 +73,9 @@ database_opts = [
73 73
                                                   group='DEFAULT'),
74 74
                                 cfg.DeprecatedOpt('sql_min_pool_size',
75 75
                                                   group='DATABASE')],
76
+               deprecated_for_removal=True,
77
+               deprecated_reason='The option to set the minimum pool '
78
+                                 'size is not supported by sqlalchemy.',
76 79
                help='Minimum number of SQL connections to keep open in a '
77 80
                     'pool.'),
78 81
     cfg.IntOpt('max_pool_size',

Loading…
Cancel
Save