aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/MGA/Mirrors/DB.pm2
1 files changed, 1 insertions, 1 deletions
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) ]);