[Zope3-checkins] CVS: Zope3/lib/python/ZODB - Connection.py:1.76
Jim Fulton
jim@zope.com
Thu, 22 Aug 2002 17:16:58 -0400
Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv10555/lib/python/ZODB
Modified Files:
Connection.py
Log Message:
Added a missing method, cacheGC, to Connection objects.
=== Zope3/lib/python/ZODB/Connection.py 1.75 => 1.76 ===
--- Zope3/lib/python/ZODB/Connection.py:1.75 Thu Aug 1 12:24:21 2002
+++ Zope3/lib/python/ZODB/Connection.py Thu Aug 22 17:16:57 2002
@@ -292,6 +292,9 @@
self._invalidated.clear()
self._opened = time.time()
+ def cacheGC(self):
+ self._cache.incrgc()
+
def close(self):
self._cache.incrgc()
self.applyCloseCallbacks()