db: Remove use of autocommit
This is no longer necessary. Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Change-Id: If34b4511dbbd95598f4370eb7b28585d153cf118
This commit is contained in:
parent
b710d3fdad
commit
45e0eaaa61
|
@ -127,9 +127,6 @@ class Connection(base.Connection):
|
|||
options['connection'] = self.dress_url(conf.database.connection)
|
||||
options['max_retries'] = 0
|
||||
options['sqlite_fk'] = True
|
||||
# FIXME(stephenfin): Remove this asap since it's not compatible
|
||||
# with SQLAlchemy 2.0
|
||||
options['__autocommit'] = True
|
||||
# oslo.db doesn't support options defined by Aodh
|
||||
for opt in storage.OPTS:
|
||||
options.pop(opt.name, None)
|
||||
|
|
Loading…
Reference in New Issue