Follow-up: Win32/Posix file locking
Ignacio Vazquez-Abrams
ignacio at openservices.net
Wed Aug 29 20:28:39 EDT 2001
On Wed, 29 Aug 2001, Ignacio Vazquez-Abrams wrote:
> On Wed, 29 Aug 2001, Sheila King wrote:
> > MAXTIME = 8 # number of secs to retry for a lock before timing out
>
> Eight seconds might be a little long for CGI scripts, but it is writable so
> that's fine.
Hmm, that's not quite right, is it?
Okay, how about passing it as a parameter to __init__() with a default value
of 8? That would do it.
--
Ignacio Vazquez-Abrams <ignacio at openservices.net>
More information about the Python-list
mailing list