Commit 164d5061 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

CMFActivity: force using READ-COMMITTED isolation.

parent ebe201a1
......@@ -703,7 +703,9 @@ class ActivityTool (BaseTool):
return meta_types
def getSQLConnection(self):
return self.aq_inner.aq_parent.cmf_activity_sql_connection()
db = self.aq_inner.aq_parent.cmf_activity_sql_connection()
db._isolation_level = 'READ-COMMITTED'
return db
def maybeMigrateConnectionClass(self):
connection_id = 'cmf_activity_sql_connection'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment