Author: justi9
Date: 2008-12-12 15:43:26 -0500 (Fri, 12 Dec 2008)
New Revision: 2996
Modified:
mgmt/trunk/mint/python/mint/update.py
Log:
Commit after each delete op
Modified: mgmt/trunk/mint/python/mint/update.py
===================================================================
--- mgmt/trunk/mint/python/mint/update.py 2008-12-12 20:22:53 UTC (rev 2995)
+++ mgmt/trunk/mint/python/mint/update.py 2008-12-12 20:43:26 UTC (rev 2996)
@@ -354,11 +354,15 @@
attrs = self.model.dbExpireThread.attrs
total = 0
+ conn.commit()
+
for op in self.model.dbExpireThread.ops:
log.debug("Running expire op %s", op)
count = op.execute(cursor, attrs)
+ conn.commit()
+
log.debug("%i records expired", count)
total += count
Show replies by date