Browse Source

Merge "Ignore 'use_tpool' option"

Zuul 1 year ago
parent
commit
c432d9e938
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      oslo_db/sqlalchemy/enginefacade.py

+ 4
- 4
oslo_db/sqlalchemy/enginefacade.py View File

@@ -165,15 +165,15 @@ class _TransactionFactory(object):
165 165
             'on_engine_create': [],
166 166
         }
167 167
 
168
-        # other options that are defined in oslo.db.options.database_opts
169
-        # but do not apply to the standard enginefacade arguments
170
-        # (most seem to apply to api.DBAPI).
168
+        # other options that are defined in oslo_db.options.database_opts
169
+        # or oslo_db.concurrency.tpool_opts but do not apply to the standard
170
+        # enginefacade arguments (most seem to apply to api.DBAPI).
171 171
         self._ignored_cfg = dict(
172 172
             (k, _Default(None)) for k in [
173 173
                 'db_max_retries', 'db_inc_retry_interval',
174 174
                 'use_db_reconnect',
175 175
                 'db_retry_interval', 'min_pool_size',
176
-                'db_max_retry_interval', 'backend'])
176
+                'db_max_retry_interval', 'backend', 'use_tpool'])
177 177
 
178 178
         self._started = False
179 179
         self._legacy_facade = None

Loading…
Cancel
Save