From ed6e4ea0bc9fccf50a6a6087dbcd68c8788165d3 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 18 Feb 2003 06:57:07 +0000 Subject: Move do_chainpings yes/no from pingd to Chain.pm Allow fromlines building to be disabled --- pingd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pingd') diff --git a/pingd b/pingd index e276e0b..1c3c3f6 100755 --- a/pingd +++ b/pingd @@ -3,7 +3,7 @@ $| = 1; # (c) 2002, 2003 Peter Palfrader -# $Id: pingd,v 1.98 2003/02/18 06:38:06 weasel Exp $ +# $Id: pingd,v 1.99 2003/02/18 06:57:07 weasel Exp $ # =pod @@ -509,8 +509,7 @@ sub daemon_run($) { $scheduler->add('processmail' , Echolot::Config::get()->{'processmail'} , 0, \&Echolot::Mailin::process ); $scheduler->add('ping' , Echolot::Config::get()->{'pinger_interval'} , 0, \&Echolot::Pinger::send_pings ); - $scheduler->add('chainping' , Echolot::Config::get()->{'chainpinger_interval'} , 0, \&Echolot::Chain::send_pings ) - if Echolot::Config::get()->{'do_chainpings'}; + $scheduler->add('chainping' , Echolot::Config::get()->{'chainpinger_interval'} , 0, \&Echolot::Chain::send_pings ); $scheduler->add('buildstats' , Echolot::Config::get()->{'buildstats'} , 0, \&Echolot::Stats::build_stats ); $scheduler->add('buildkeys' , Echolot::Config::get()->{'buildkeys'} , 0, \&Echolot::Stats::build_keys ); $scheduler->add('buildthesaurus' , Echolot::Config::get()->{'buildthesaurus'} , 0, \&Echolot::Thesaurus::build_thesaurus ); -- cgit v1.2.3