[Spambayes] ZODB simultaneous read-write is okay, right?

skip at pobox.com skip at pobox.com
Mon May 8 03:18:52 CEST 2006


    >> When a process with a read-only connection decides it wants to see
    >> current data, it should close its connection and DB, and re-open the
    >> storage from scratch (then create a new DB from the new FileStorage
    >> instance, then create a new Connection from the new DB).

    Tony>      db.close()
    Tony>      db = open_storage(db.name, "zeo", db.mode)

    Tony> would do all of this, I believe.

So all I need to do is switch my persistent_use_database option from "zodb"
to "zeo"?  Do I need to run a separate process that mediates access to the
database?

Skip



More information about the SpamBayes mailing list