[ZODB-Dev] Re: Programaticallly managing the cache in stand
aloneZODB
Tim Peters
tim at zope.com
Tue Jan 25 13:55:50 EST 2005
[Chris Cioffi]
> Ignore this. get_transaction().abort() works much better when placed in
> the appropriate scope. Doh!
It's hard to tell from the 3.2 source code whether that's intentional. So,
in case the problem comes back again, note that Connection objects have a
cacheMinimize() method. That ghostifies all up-to-date objects in the ZODB
cache. IOW, it's the answer to your earlier question:
> Is there a way to programmatically say "flush the cache, I don't need
> anything currently there?"
More information about the ZODB-Dev
mailing list