summaryrefslogtreecommitdiff
path: root/src/mailman/database/base.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-07-29 19:28:46 -0400
committerBarry Warsaw2016-07-29 19:28:46 -0400
commitfebb5289e82c4424cdbcc2297e967bd894cbc8cf (patch)
treebd71f4cbf6988049ac4d5dd65ceb7d5cc51902e7 /src/mailman/database/base.py
parent90e84bee5f47cbcdb9e9c367c60a877e325ef3e7 (diff)
downloadmailman-febb5289e82c4424cdbcc2297e967bd894cbc8cf.tar.gz
mailman-febb5289e82c4424cdbcc2297e967bd894cbc8cf.tar.zst
mailman-febb5289e82c4424cdbcc2297e967bd894cbc8cf.zip
Diffstat (limited to 'src/mailman/database/base.py')
-rw-r--r--src/mailman/database/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/database/base.py b/src/mailman/database/base.py
index dda3665af..f57228029 100644
--- a/src/mailman/database/base.py
+++ b/src/mailman/database/base.py
@@ -103,7 +103,7 @@ class SABaseDatabase:
# engines, and yes, we could have chmod'd the file after the fact, but
# half dozen and all...
self.url = url
- self.engine = create_engine(url)
+ self.engine = create_engine(url, isolation_level='READ UNCOMMITTED')
session = sessionmaker(bind=self.engine)
self.store = session()
self.store.commit()