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

Jens Vagelpohl jens at dataflake.org
Wed Oct 13 19:06:43 EDT 2004


If you see what you think is a real bug please file it in the bug  
collector:

http://www.zope.org/Collectors/Zope

jens


On Oct 14, 2004, at 0:01, <kitto.sl at elvis.mailshell.com> wrote:

> 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
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev
>

---------------

Jens Vagelpohl			jens at zetwork.com
Software Engineer			Zope - done medium rare
Zetwork GmbH				http://www.zetwork.com/



More information about the ZODB-Dev mailing list