Do not disable autocommit until we fully migrate
Some dbapi calls are still relying on it (e.g. touch_conductor apparently), causing sqlite databases to get locked. Change-Id: If17d49ef434cf60876a81dae8e5ddaa6dc45e707
This commit is contained in:
parent
ac8842a775
commit
cec04bb04e
|
@ -12,5 +12,7 @@
|
|||
|
||||
from oslo_db.sqlalchemy import enginefacade
|
||||
|
||||
# FIXME(stephenfin): we need to remove reliance on autocommit semantics ASAP
|
||||
# since it's not compatible with SQLAlchemy 2.0
|
||||
# NOTE(dtantsur): we want sqlite as close to a real database as possible.
|
||||
enginefacade.configure(sqlite_fk=True)
|
||||
enginefacade.configure(sqlite_fk=True, __autocommit=True)
|
||||
|
|
Loading…
Reference in New Issue