From 15ef60f313ccded5d23d9c26760791f1666c8c05 Mon Sep 17 00:00:00 2001 From: Witek Bedyk Date: Thu, 28 Sep 2023 16:18:28 +0200 Subject: [PATCH] Disable aggregating over financial year Holding all the UID statistics over the whole year consumes too much memory. --- metrics/access/aggregate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/access/aggregate.php b/metrics/access/aggregate.php index 12f1a9f47..d7140b862 100755 --- a/metrics/access/aggregate.php +++ b/metrics/access/aggregate.php @@ -154,7 +154,7 @@ function subprocess_count() function aggregate_all($period) { global $CACHE_DIR; - $intervals = ['day' => 'Y-m-d', 'week' => 'Y-W', 'month' => 'Y-m', 'FQ' => null, 'FY' => null]; + $intervals = ['day' => 'Y-m-d', 'week' => 'Y-W', 'month' => 'Y-m', 'FQ' => null]; $merged = []; $merged_protocol = []; $date_previous = null;