[Mailman-Developers] lock lifetime

Ricardo Kustner ricardo@rixhq.nu
Wed, 22 Mar 2000 21:15:25 +0100


Hi,

On Wed, Mar 22, 2000 at 02:06:12PM -0500, Barry A. Warsaw wrote:
> One other gotcha, if you use bin/withlist to open a locked list and
> then exit the interpreter without doing an explicit m.Unlock(), you're
> list will be locked out for the duration.
well I haven't used bin/withlist before, but maybe it could issue a
warning when it runs?

> Still, I'm willing to put something in Defaults.py like this:
> # How long is the default lifetime for the MailList object lock, in seconds?
> LIST_LOCK_LIFETIME = 120
> and then set lifetime at line 282 to use this variable.
> Will that work for you?
that would be great... thanks :)

Ricardo.

--