projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10cb5c6
)
It is possible (although very dumb) to set kid_serial_sleep to 0, so base our decisio...
author
Greg Sabino Mullane
<greg@endpoint.com>
Wed, 24 Oct 2012 03:40:52 +0000
(23:40 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Wed, 24 Oct 2012 03:40:52 +0000
(23:40 -0400)
Bucardo.pm
patch
|
blob
|
blame
|
history
diff --git
a/Bucardo.pm
b/Bucardo.pm
index 2d4fb881b6ef974bb3b3450452b73dd724195000..9e4b82adb626cea3a9160c5fe62ed21f0fbf4a38 100644
(file)
--- a/
Bucardo.pm
+++ b/
Bucardo.pm
@@
-2140,7
+2140,7
@@
sub start_kid {
$msg .= "\nLine: $line";
## If we had a serialization error, sleep a hair before retrying
- my $gotosleep
= 0
;
+ my $gotosleep;
## Subject line tweaking later on
my $moresub = '';
@@
-2245,7
+2245,7
@@
sub start_kid {
}
## Sleep if we figured out we should above (e.g. serialization error)
- sleep $gotosleep if $gotosleep;
+ sleep $gotosleep if
defined
$gotosleep;
## Send an email as needed (never for clean exit)
if (! $self->{clean_exit} and $self->{sendmail} or $self->{sendmail_file}) {