From ca42662dc4af605211aa83fa26b603ad504e5023 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 2 Jun 2011 11:12:16 +0000 Subject: - check mirrors more often --- lib/MGA/Mirrors/DB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MGA/Mirrors/DB.pm b/lib/MGA/Mirrors/DB.pm index b50e35f..2e54847 100644 --- a/lib/MGA/Mirrors/DB.pm +++ b/lib/MGA/Mirrors/DB.pm @@ -224,7 +224,7 @@ sub check_distributions { my $uneeded_check = $self->db->prepare(q{ select * from distributions_validity where - lastcheck > now() - '6 hours'::interval + lastcheck > now() - '2 hours'::interval }); $uneeded_check->execute(); my $uch = $uneeded_check->fetchall_hashref([ qw(urlskey distributionkey) ]); -- cgit v1.2.1