MDL-35109 Fix available_update_checker::cron_has_fresh_fetch()
For the purpose of cron based fetching, recently fetched data are valid for 24 hours.
This commit is contained in:
+1
-1
@@ -1085,7 +1085,7 @@ class available_update_checker {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ($now - $recent > HOURSECS) {
|
||||
if ($now - $recent > 24 * HOURSECS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user