Merge "Deprecate unused [DEFAULT] sql_pool_class"

This commit is contained in:
Zuul
2025-09-19 15:16:14 +00:00
committed by Gerrit Code Review
2 changed files with 7 additions and 0 deletions

View File

@@ -75,6 +75,8 @@ db_opts = [
help=u._("Default page size for the 'limit' paging URL "
"parameter.")),
cfg.StrOpt('sql_pool_class', default="QueuePool",
deprecated_for_removal=True,
deprecated_reason='This option has been ineffective',
help=u._("Accepts a class imported from the sqlalchemy.pool "
"module, and handles the details of building the "
"pool for you. If commented out, SQLAlchemy will "

View File

@@ -0,0 +1,5 @@
---
deprecations:
- |
The ``[DEFAULT] sql_pool_class`` option has been deprecated, because it has
been unused since 5.0.0 release.