[Zope-Checkins] CVS: Zope/lib/python/App - CacheManager.py:1.27.58.1
Jim Fulton
cvs-admin at zope.org
Sat Nov 15 07:11:04 EST 2003
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv23266/lib/python/App
Modified Files:
Tag: zodb33-devel-branch
CacheManager.py
Log Message:
Removed code for initializing the ZODB cache. This is not done by ZConfig.
=== Zope/lib/python/App/CacheManager.py 1.27 => 1.27.58.1 ===
--- Zope/lib/python/App/CacheManager.py:1.27 Wed Oct 9 11:11:25 2002
+++ Zope/lib/python/App/CacheManager.py Sat Nov 15 07:11:02 2003
@@ -180,21 +180,6 @@
response=REQUEST['RESPONSE']
response.redirect(REQUEST['URL1']+'/manage_cacheGC')
- def initialize_cache(self):
- try: db=self._p_jar.db()
- except:
- # BoboPOS2
- Globals.Bobobase._jar.cache.cache_size=self._cache_size
- Globals.Bobobase._jar.cache.cache_age =self._cache_age
- else:
- db.setCacheSize(self._cache_size)
- db.setCacheDeactivateAfter(self._cache_age)
- db.setVersionCacheSize(self._vcache_size)
- db.setVersionCacheDeactivateAfter(self._vcache_age)
- am = self._getActivityMonitor()
- if am is not None:
- am.setHistoryLength(self._history_length)
-
def cache_detail(self, REQUEST=None):
"""
Returns the name of the classes of the objects in the cache
More information about the Zope-Checkins
mailing list