[Zope-dev] How do you open mounted databases on startup in 2.7?

Chris Withers chris at simplistix.co.uk
Wed Jun 30 15:18:59 EDT 2004


In 2.6, with DBTab, I had something like:

[Storage: Packed]
type=ClientStorage
addr=zeo://localhost:6001
storage=packed
cache_size=100000000

[Database: Packed]
cache_size=4000
mount_paths=/somepath
open_at_startup=1

The closest I can get in 2.7 is:

<zodb_db packed>
    <zeoclient>
      server     127.0.0.1:6001
      storage    packed
      cache-size 100000000
      wait       on
    </zeoclient>
     mount-point /content
     cache-size  4000
</zodb_db>

What do I use instead of open_at_startup or has this functionality vanished in 2.7?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-Dev mailing list