aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2011-06-02 11:12:16 +0000
committerOlivier Thauvin <nanardon@mageia.org>2011-06-02 11:12:16 +0000
commitca42662dc4af605211aa83fa26b603ad504e5023 (patch)
treeb4dfcedbbe9a50f74e8da043d7381347f4cd8371 /lib
parentc0063f620e958827b1c888e1003f770e2631d41e (diff)
downloadmgamirrors-ca42662dc4af605211aa83fa26b603ad504e5023.tar
mgamirrors-ca42662dc4af605211aa83fa26b603ad504e5023.tar.gz
mgamirrors-ca42662dc4af605211aa83fa26b603ad504e5023.tar.bz2
mgamirrors-ca42662dc4af605211aa83fa26b603ad504e5023.tar.xz
mgamirrors-ca42662dc4af605211aa83fa26b603ad504e5023.zip
- check mirrors more often
Diffstat (limited to 'lib')
-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) ]);