Skip to content

Commit

Permalink
Disable aggregating over financial year
Browse files Browse the repository at this point in the history
Holding all the UID statistics over the whole year consumes too much
memory.
  • Loading branch information
witekest committed Sep 28, 2023
1 parent 6075c72 commit 15ef60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/access/aggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 15ef60f

Please sign in to comment.