[ZODB-Dev] ZEO pack

Jeremy Hylton jeremy@zope.com
Wed, 26 Sep 2001 10:09:47 -0400 (EDT)


>>>>> "CW" == Chris Withers <chrisw@nipltd.com> writes:

  CW> Jeremy Hylton wrote:
  >>
  >> The pack() method on a ClientStorage has an optional argument
  >> wait.  If you call pack(wait=1), it should block until the pack
  >> is completed.

  CW> Urm, small question though...

  CW> I currently have: app.Control_Panel.Database.manage_pack()

  CW> What do I replace that with to get the above functionality?

I guess you have to modify manage_pack() to call pack with the wait
argument.  I don't know Zope well enough to have a better answer.
Perhaps there should be an option in the management interface to
request a synchronous pack.

Jeremy