Re: Mail::Box::Mbox does not respect lock?
Raul Dias <[email protected]> Wed, 01 Jun 2005 19:07:29 -0300
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Answering my own question.... :) Yes it does. Just have to make sure that lock_timout (Mail::Box) or expires (Mail::Box::locker::DotFile) has appropriated value (default to 1h). Raul Dias On Wed, 2005-06-01 at 14:53 -0300, Raul Dias wrote: > Hi, > > > I have a script doing slow mbox work on a directory with some MBoxes. > I have another script doing cleanup stuff in parallel. > > Both are using Mail::Box. > > Mail::Box creates the lock file "<mbox_name>.lock" as expected. > > However when opening the same mbox with the another script it does not > respect the lock file and open the mailbox anyways. > > Is this the expected behaviour? is this a bug? or just a > misconfiguration in my script? > > > Raul Dias >