[Checkins] SVN: Zope/branches/haufe-legacy-integration/ - Launchpad #373601: abort transaction before connection close in order to

Andreas Jung andreas at andreas-jung.com
Sun May 10 11:33:08 EDT 2009


Log message for revision 99824:
  
  - Launchpad #373601: abort transaction before connection close in order to
    prevent connection leaks in case of persistent changes after the main
    transaction is closed.
  

Changed:
  U   Zope/branches/haufe-legacy-integration/doc/CHANGES.rst
  U   Zope/branches/haufe-legacy-integration/src/App/ZApplication.py

-=-
Modified: Zope/branches/haufe-legacy-integration/doc/CHANGES.rst
===================================================================
--- Zope/branches/haufe-legacy-integration/doc/CHANGES.rst	2009-05-10 15:28:15 UTC (rev 99823)
+++ Zope/branches/haufe-legacy-integration/doc/CHANGES.rst	2009-05-10 15:33:08 UTC (rev 99824)
@@ -24,11 +24,15 @@
 ++++++++++++++
 
 - Launchpad #373621: catching and logging exceptions that could cause
-  leaking of worker threads
+  leaking of worker threads.
 
 - Launchpad #373577: setting up standard logging earlier within the startup
-  phase for improving the analysis of startup errors
+  phase for improving the analysis of startup errors.
 
+- Launchpad #373601: abort transaction before connection close in order to
+  prevent connection leaks in case of persistent changes after the main
+  transaction is closed.
+
 - zExceptions.convertExceptionType:  new API, breaking out conversion of
   exception names to exception types from 'upgradeException'.
 

Modified: Zope/branches/haufe-legacy-integration/src/App/ZApplication.py
===================================================================
--- Zope/branches/haufe-legacy-integration/src/App/ZApplication.py	2009-05-10 15:28:15 UTC (rev 99823)
+++ Zope/branches/haufe-legacy-integration/src/App/ZApplication.py	2009-05-10 15:33:08 UTC (rev 99824)
@@ -80,4 +80,5 @@
         self._jar = jar
 
     def __del__(self):
+        transaction.abort()
         self._jar.close()



More information about the Checkins mailing list