From: minima Date: Wed, 23 Feb 2005 23:10:23 +0000 (+0000) Subject: use the correct cf_interval X-Git-Tag: R_1_52~147 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=3d40d937dcce9678185e027a8b86245779e761f0;p=spider.git use the correct cf_interval --- diff --git a/perl/Aranea.pm b/perl/Aranea.pm index 5663b80a..a82c53c1 100644 --- a/perl/Aranea.pm +++ b/perl/Aranea.pm @@ -173,13 +173,13 @@ sub per_minute foreach my $dxchan (DXChannel::get_all()) { next if $dxchan == $main::me; next if $dxchan->is_aranea; - if ($main::systime > $dxchan->lasthello + $hello_interval) { + if ($main::systime >= $dxchan->lasthello + $hello_interval) { my $thing = Thingy::Hello->new(user => $dxchan->call, h => $dxchan->here); $thing->broadcast($dxchan); $dxchan->lasthello($main::systime); } if ($dxchan->is_node) { - if ($main::systime > $dxchan->lasthello + $hello_interval) { + if ($main::systime >= $dxchan->lastcf + $cf_interval) { my $call = $dxchan->call; my $thing = Thingy::Rt->new(user => $call); if (my $nref = Route::Node::get($call)) {