[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - ZCatalog.py:1.106
Toby Dickenson
tdickenson@geminidataloggers.com
Fri, 5 Apr 2002 06:13:11 -0500
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv20880
Modified Files:
ZCatalog.py
Log Message:
No need to use a full sweep now. the incremental collector is sufficiently effective at keeping memory usage in check, and does not have the severe performance implications
=== Zope/lib/python/Products/ZCatalog/ZCatalog.py 1.105 => 1.106 ===
if self._v_total > self.threshold:
get_transaction().commit(1)
- self._p_jar.cacheFullSweep(3)
+ self._p_jar.cacheGC()
self._v_total = 0
def uncatalog_object(self, uid):