[ZODB-Dev] ClientStorage.__init__ ignores cache_size param?

kitto.sl at elvis.mailshell.com kitto.sl at elvis.mailshell.com
Wed Oct 13 18:01:19 EDT 2004


Hello folks,

I've recently noticed in using a ZEO setup that ClientStorage.__init__ ignores the parameter cache_size, which is supposed to configure the size of the client's disk cache, and which normally defaults to 20MB.

As it turns out, since the cache_size param is ignored, the code defaults to a cache size of 1MB, and there is no way for client code to change this.

This seems like such an obvious bug that I'm really surprised to be the only one to see it. Am I missing something?

The code I'm looking at is ZODB3.3c1, but this doesn't seem to have changed for a while:

  http://svn.zope.org/ZODB/trunk/src/ZEO/ClientStorage.py?rev=25186&view=log

Thanks!

--Kitto


More information about the ZODB-Dev mailing list