summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-07-10 16:39:43 +0200
committerSimon Rettberg2020-07-30 13:30:28 +0200
commit14fdfab421c227feeca12923de752c7832d656c0 (patch)
treea6459882e6f9a5392db3e351096bc18e7eadffb8
parent[remoteaccess] Report this as dedicated runmode (diff)
downloadslx-admin-14fdfab421c227feeca12923de752c7832d656c0.tar.gz
slx-admin-14fdfab421c227feeca12923de752c7832d656c0.tar.xz
slx-admin-14fdfab421c227feeca12923de752c7832d656c0.zip
[minilinux] Lower update disable to 5 mins (was 10)
-rw-r--r--modules-available/minilinux/page.inc.php2
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) {