summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2006-04-09 15:15:10 +0000
committerfukachan <fukachan>2006-04-09 15:15:10 +0000
commitc4afe7c537897c2cdd9e00102d4dcfc5d30dfee1 (patch)
tree808d2acd3ea0ed497fe7f6914af0302e6b58ac89
parent0caf77d3a4d6353c32283c12ccf624477259f372 (diff)
downloadfml8-c4afe7c537897c2cdd9e00102d4dcfc5d30dfee1.tar.gz
fml8-c4afe7c537897c2cdd9e00102d4dcfc5d30dfee1.tar.bz2
fml8-c4afe7c537897c2cdd9e00102d4dcfc5d30dfee1.zip
modify debug message
-rw-r--r--fml/lib/Mail/Delivery/Queue.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/fml/lib/Mail/Delivery/Queue.pm b/fml/lib/Mail/Delivery/Queue.pm
index c82df2b9..0512d665 100644
--- a/fml/lib/Mail/Delivery/Queue.pm
+++ b/fml/lib/Mail/Delivery/Queue.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Queue.pm,v 1.65 2006/04/05 08:36:28 fukachan Exp $
+# $FML: Queue.pm,v 1.66 2006/04/05 13:13:52 fukachan Exp $
#
package Mail::Delivery::Queue;
@@ -739,7 +739,12 @@ sub lock
$self->{ _lock }->{ $id } = $io;
}
else {
- $self->_logerror("cannot lock: qid=$id");
+ if ($wait > 0) {
+ $self->_logdebug("trylock timeout: qid=$id");
+ }
+ else {
+ $self->_logerror("cannot lock: qid=$id");
+ }
}
return $r;
}