projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a43bfd
)
try a better arc diddle
author
minima
<minima>
Fri, 7 Sep 2001 21:43:15 +0000
(21:43 +0000)
committer
minima
<minima>
Fri, 7 Sep 2001 21:43:15 +0000
(21:43 +0000)
perl/DXProt.pm
patch
|
blob
|
history
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 023daa334e9e03b9545a0d0b0598d6f7adab700e..d6ea691796e82c3078f04d8aa1c41cc6e4c50b5e 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-1044,8
+1044,8
@@
sub normal
shift @{$tochan->{pingtime}} if @{$tochan->{pingtime}} > 6;
# cope with a missed ping, this means you must set the pingint large enough
shift @{$tochan->{pingtime}} if @{$tochan->{pingtime}} > 6;
# cope with a missed ping, this means you must set the pingint large enough
- my $miss = ($nopings-$tochan->{nopings}) * $tochan->{pingint};
- if ($tochan->is_arcluster && $t > $miss && $t < $miss + $tochan->{nopings} ) {
+ my $miss = ($nopings-$tochan->{nopings}
+1
) * $tochan->{pingint};
+ if ($tochan->is_arcluster && $
miss > 0 && $
t > $miss && $t < $miss + $tochan->{nopings} ) {
$t -= $miss;
}
$t -= $miss;
}