mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 15:57:12 +00:00
try a better arc diddle
This commit is contained in:
parent
8a43bfdeac
commit
874ee7e39c
@ -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
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user