From 48fb99039ead996a8fe4ceb3134ce4c2b7b4d2a5 Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Fri, 1 Jun 2018 00:17:43 +0100 Subject: Cache the whole repo for better performance --- remove_stale.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'remove_stale.pl') diff --git a/remove_stale.pl b/remove_stale.pl index 4a7589164e3..df1e47c47cd 100755 --- a/remove_stale.pl +++ b/remove_stale.pl @@ -34,6 +34,10 @@ use constant INSTALLDIR => '../www'; my $VCS = Local::VCS->new(); +# Cache the repo history for performance +print "Initialising VCS cache\n"; +$VCS->cache_repo(); + ############################################################### # "main" { -- cgit v1.2.3