From 4556e8641919997ee102d066dd173a15da3bdff5 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 17 Jul 2002 17:53:44 +0000 Subject: getkeyconf command takes optional addresses getkeyconf config option was replaced by getkeyconf_interval and getkeyconf_every_nth_time Not all requests are sent at the same time Scheduler takes argument to pass to functions --- Echolot/Commands.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Echolot/Commands.pm') diff --git a/Echolot/Commands.pm b/Echolot/Commands.pm index e502a91..c0a6b59 100644 --- a/Echolot/Commands.pm +++ b/Echolot/Commands.pm @@ -1,7 +1,7 @@ package Echolot::Commands; # (c) 2002 Peter Palfrader -# $Id: Commands.pm,v 1.8 2002/07/16 02:59:17 weasel Exp $ +# $Id: Commands.pm,v 1.9 2002/07/17 17:53:44 weasel Exp $ # =pod @@ -68,7 +68,7 @@ sub processCommands($) { } elsif ($command eq 'set') { Echolot::Globals::get()->{'storage'}->set_stuff(@args); } elsif ($command eq 'getkeyconf') { - Echolot::Globals::get()->{'scheduler'}->schedule('getkeyconf', time() ); + Echolot::Globals::get()->{'scheduler'}->schedule('getkeyconf', time(), \@args ); } elsif ($command eq 'buildstats') { Echolot::Globals::get()->{'scheduler'}->schedule('buildstats', time() ); } elsif ($command eq 'buildkeys') { -- cgit v1.2.3