summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/statistics/pages/summary.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/statistics/pages/summary.inc.php b/modules-available/statistics/pages/summary.inc.php
index a540e39e..5d6a58a8 100644
--- a/modules-available/statistics/pages/summary.inc.php
+++ b/modules-available/statistics/pages/summary.inc.php
@@ -272,8 +272,9 @@ class SubPage
private static function showLatestMachines(StatisticsFilterSet $filterSet): void
{
+ $args = [];
$filterSet->makeFragments($where, $join, $args);
- $args['cutoff'] = ceil(time() / 3600) * 3600 - 86400 * 10;
+ $args['cutoff'] = ceil(time() / 3600) * 3600 - 86400 * 30;
$res = Database::simpleQuery("SELECT m.machineuuid, m.clientip, m.hostname, m.firstseen, m.mbram, m.kvmstate, m.id44mb
FROM machine m $join