summaryrefslogtreecommitdiff
path: root/lib/Multi/Maintenance.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Multi/Maintenance.pm')
-rw-r--r--lib/Multi/Maintenance.pm12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/Multi/Maintenance.pm b/lib/Multi/Maintenance.pm
index 0bd5eb91..4f816e56 100644
--- a/lib/Multi/Maintenance.pm
+++ b/lib/Multi/Maintenance.pm
@@ -18,12 +18,12 @@ sub spawn {
$p => [qw|
_start shutdown set_daily daily set_monthly monthly log_stats
vncache tagcache vnpopularity cleangraphs
- usercache statscache revcache logrotate
+ usercache statscache logrotate
|],
],
heap => {
daily => [qw|vncache tagcache vnpopularity cleangraphs|],
- monthly => [qw|usercache statscache revcache logrotate|],
+ monthly => [qw|usercache statscache logrotate|],
@_,
},
);
@@ -173,14 +173,6 @@ sub statscache {
}
-sub revcache {
- # This -really- shouldn't be necessary...
- # Currently takes about 25 seconds to complete
- $_[KERNEL]->post(pg => do => q|SELECT update_rev('vn', ''), update_rev('releases', ''), update_rev('producers', '')|,
- undef, 'log_stats', 'revcache');
-}
-
-
sub logrotate {
my $dir = sprintf '%s/old', $VNDB::M{log_dir};
mkdir $dir if !-d $dir;