diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2011-06-02 11:12:16 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2011-06-02 11:12:16 +0000 |
commit | ca42662dc4af605211aa83fa26b603ad504e5023 (patch) | |
tree | b4dfcedbbe9a50f74e8da043d7381347f4cd8371 /lib/MGA | |
parent | c0063f620e958827b1c888e1003f770e2631d41e (diff) | |
download | mgamirrors-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/MGA')
-rw-r--r-- | lib/MGA/Mirrors/DB.pm | 2 |
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) ]); |