houseabsolute / Log-Dispatch

Dispatches messages to one or more outputs
https://metacpan.org/release/Log-Dispatch/
Other
12 stars 29 forks source link

patch: Log::Dispatch::File::Locked allows timeout on flock #27

Open autarch opened 7 years ago

autarch commented 7 years ago

Migrated from rt.cpan.org #54421 (status was 'new')

Requestors:

Attachments:

From perl@events.soundwave.net on 2010-02-08 19:26:24:

This patch allows a 'timeout' option to be specified for Log::Dispatch::File::Locked. A value of undef means no timeout (wait for ever) while a value of 0 means LOCK_NB. Other values will cause the flock to timeout after the specified number of seconds.