Re: [SQLObject] cache management

2007-03-22 Thread sophana
Simon Cross a écrit : > On 3/21/07, sophana <[EMAIL PROTECTED]> wrote: > >> I'm suspecting the cache cull system. >> How can I disable the cull system? >> > > Mine own solution to this problem was to create an external cache > (outside SQLObject) which explicitly keeps references to the obj

Re: [SQLObject] cache management

2007-03-21 Thread Simon Cross
On 3/21/07, sophana <[EMAIL PROTECTED]> wrote: > I'm suspecting the cache cull system. > How can I disable the cull system? Mine own solution to this problem was to create an external cache (outside SQLObject) which explicitly keeps references to the objects I use often. So at start up I do somet

Re: [SQLObject] cache management

2007-03-21 Thread Oleg Broytmann
On Wed, Mar 21, 2007 at 07:37:21PM +0100, sophana wrote: > May I propose a little patch where the doCache value is tested: > if doCache=='noCull', cache is enabled without culling > it is compatible with the connection uri: &cache=noCull This requires a note in documentation to remind the user

Re: [SQLObject] cache management

2007-03-21 Thread sophana
Oleg Broytmann a écrit : > On Wed, Mar 21, 2007 at 05:40:02PM +0100, sophana wrote: > >> I'm suspecting the cache cull system. >> How can I disable the cull system? >> > >Currently there is no way do disable culling. If caching is enabled > cache will always perform culling. > > Oleg. >

Re: [SQLObject] cache management

2007-03-21 Thread Oleg Broytmann
On Wed, Mar 21, 2007 at 05:40:02PM +0100, sophana wrote: > I'm suspecting the cache cull system. > How can I disable the cull system? Currently there is no way do disable culling. If caching is enabled cache will always perform culling. Oleg. -- Oleg Broytmannhttp://phd.pp.ru

[SQLObject] cache management

2007-03-21 Thread sophana
Hi I have a question about the sqlObject cache. I'm 2 web servers over 2 replicated mysql server for high availability. What I'm actually doing is to disable the connection cache. Looking at connection debug log, there are a lot of useless transactions that could be cached. So I had the idea of ca