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

Dieter Maurer dieter at handshake.de
Thu Oct 14 13:23:49 EDT 2004


kitto.sl at elvis.mailshell.com wrote at 2004-10-13 15:01 -0700:
>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.

Apparently, you are looking at strange code:

  The code I see (essentially Zope 2.7.2) does not ignore the
  "client_cache" argument nor is the default cache size of "ClientCache"
  1 MB but 20 MB.

-- 
Dieter


More information about the ZODB-Dev mailing list