summaryrefslogtreecommitdiff
path: root/Echolot
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-07-13 23:38:16 +0000
committerPeter Palfrader <peter@palfrader.org>2002-07-13 23:38:16 +0000
commit96612562db8bfd4bb156b285606f7de6fd08c27f (patch)
treee8b5ce232df6b0d26e2d6cf8ee9ac99d397d73ce /Echolot
parentf1f424289aba1175cec0839000d9dfd167b9a810 (diff)
Added commands buildstats buildkeys and buildthesaurus
Diffstat (limited to 'Echolot')
-rw-r--r--Echolot/Commands.pm8
-rw-r--r--Echolot/Config.pm4
2 files changed, 9 insertions, 3 deletions
diff --git a/Echolot/Commands.pm b/Echolot/Commands.pm
index d5ef445..41b9804 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.5 2002/07/03 11:08:21 weasel Exp $
+# $Id: Commands.pm,v 1.6 2002/07/13 23:37:55 weasel Exp $
#
=pod
@@ -69,6 +69,12 @@ sub processCommands($) {
Echolot::Globals::get()->{'storage'}->set_stuff(@args);
} elsif ($command eq 'getkeyconf') {
Echolot::Globals::get()->{'scheduler'}->schedule('getkeyconf', time() );
+ } elsif ($command eq 'buildstats') {
+ Echolot::Globals::get()->{'scheduler'}->schedule('buildstats', time() );
+ } elsif ($command eq 'buildkeys') {
+ Echolot::Globals::get()->{'scheduler'}->schedule('buildkeys', time() );
+ } elsif ($command eq 'buildthesaurus') {
+ Echolot::Globals::get()->{'scheduler'}->schedule('buildthesaurus', time() );
} elsif ($command eq 'delete') {
Echolot::Globals::get()->{'storage'}->delete_remailer(@args);
} elsif ($command eq 'setremailercaps') {
diff --git a/Echolot/Config.pm b/Echolot/Config.pm
index 06460f5..42af3e0 100644
--- a/Echolot/Config.pm
+++ b/Echolot/Config.pm
@@ -1,7 +1,7 @@
package Echolot::Config;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Config.pm,v 1.24 2002/07/13 20:35:50 weasel Exp $
+# $Id: Config.pm,v 1.25 2002/07/13 23:37:55 weasel Exp $
#
=pod
@@ -78,11 +78,11 @@ sub init($) {
ping_every_nth_time => 48, # send out pings to the same remailer every 48 calls, i.e. every 4 hours
buildstats => 5*60, # build statistics every 5 minutes
buildkeys => 8*60*60, # build keyring every 8 hours
+ buildthesaurus => 60*60, # hourly
commitprospectives => 8*60*60, # commit prospective addresses every 8 hours
expire => 24*60*60, # daily
getkeyconf => 24*60*60, # daily
check_resurrection => 7*24*60*60, # weekly
- build_thesaurus => 60*60, # hourly
resultdir => 'results',
thesaurusdir => 'results/thesaurus',