[ZODB-Dev] ClientStorage.__init__ ignores cache_size param?
Tim Peters
tim at zope.com
Thu Oct 14 17:10:38 EDT 2004
[kitto.sl at elvis.mailshell.com]
>> 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.
[Dieter Maurer]
> 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.
Right. Kitto was talking about ZODB 3.3, where this is an issue. More in
his report:
http://zope.org/Collectors/Zope/1536
More information about the ZODB-Dev
mailing list