No need to use twophase in sqlalchemy since we only talk to one db
This commit is contained in:
@@ -63,7 +63,6 @@ class Plugin(quantum_plugin_base_v2.QuantumPluginBaseV2):
|
||||
def _initDBMaker(self):
|
||||
# This needs to be called after _ENGINE is configured
|
||||
db_api._MAKER = scoped_session(sessionmaker(bind=db_api._ENGINE,
|
||||
twophase=True, autocommit=False,
|
||||
extension=ZopeTransactionExtension()))
|
||||
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user