Commit 99201669 authored by Chris Withers's avatar Chris Withers

this spelling lets non-savepoint aware TM's (like DA's) stand a chance

parent de5f4946
...@@ -588,7 +588,7 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -588,7 +588,7 @@ class ZCatalog(Folder, Persistent, Implicit):
# we should commit a subtransaction if our threshhold is # we should commit a subtransaction if our threshhold is
# exceeded within the boundaries of the current transaction. # exceeded within the boundaries of the current transaction.
if self._v_total > self.threshold: if self._v_total > self.threshold:
transaction.savepoint() transaction.savepoint(optimistic=True)
self._p_jar.cacheGC() self._p_jar.cacheGC()
self._v_total = 0 self._v_total = 0
if pghandler: if pghandler:
......
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