diff options
author | Simon Rettberg | 2020-07-10 16:39:43 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-07-10 16:39:43 +0200 |
commit | bf9c5ad619fa902d14d948c950677fb8630f1962 (patch) | |
tree | ff36c166f1cd2c3a079006961ed53f8fac3f3be0 | |
parent | [remoteaccess] Report this as dedicated runmode (diff) | |
download | slx-admin-bf9c5ad619fa902d14d948c950677fb8630f1962.tar.gz slx-admin-bf9c5ad619fa902d14d948c950677fb8630f1962.tar.xz slx-admin-bf9c5ad619fa902d14d948c950677fb8630f1962.zip |
[minilinux] Lower update disable to 5 mins (was 10)
-rw-r--r-- | modules-available/minilinux/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/minilinux/page.inc.php b/modules-available/minilinux/page.inc.php index faea7599..6e7fe8e2 100644 --- a/modules-available/minilinux/page.inc.php +++ b/modules-available/minilinux/page.inc.php @@ -55,7 +55,7 @@ class Page_MiniLinux extends Page $res = Database::simpleQuery('SELECT sourceid, title, url, lastupdate, pubkey FROM minilinux_source ORDER BY title, sourceid'); $data = ['list' => [], 'show_refresh' => true]; $tooOld = strtotime('-7 days'); - $showRefresh = strtotime('-10 minutes'); + $showRefresh = strtotime('-5 minutes'); while ($row = $res->fetch(PDO::FETCH_ASSOC)) { $row['lastupdate_s'] = Util::prettyTime($row['lastupdate']); if ($row['lastupdate'] != 0 && $row['lastupdate'] < $tooOld) { |