diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-07-17 17:53:44 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-07-17 17:53:44 +0000 |
commit | 4556e8641919997ee102d066dd173a15da3bdff5 (patch) | |
tree | bcd162a1d9b34e75678a94563f487856a79afbe2 /Echolot/Commands.pm | |
parent | 0de702218fe446ccf8342e41ce32dff871b03fdd (diff) |
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
Diffstat (limited to 'Echolot/Commands.pm')
-rw-r--r-- | Echolot/Commands.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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 <peter@palfrader.org> -# $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') { |