Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2021-08-12 19:41:12 +0300
committerGitHub <noreply@github.com>2021-08-12 19:41:12 +0300
commit429e7bcd780ba16a8a04ca6d6cdf9ee74059a096 (patch)
tree477429b2b68e70ceb129787ccc16330ebbc36e43 /config
parentca8e320ff9011d7146b7200c8c41bb0e39a4a846 (diff)
before trying to invalidate parent period, make sure period is enabled in INI config (#17874)
* before trying to invalidate parent period, make sure period is enabled in INI config * avoid error in queueconsumer as well * make sure we avoid disabled periods in CronArchive.php
Diffstat (limited to 'config')
-rwxr-xr-xconfig/global.ini.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index 0f1e6dde49..885ba64fa4 100755
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -211,6 +211,11 @@ enable_processing_unique_visitors_multiple_sites = 0
; Example use case: custom date range requests are processed in real time,
; so they may take a few minutes on very high traffic website: you may remove "range" below to disable this period
enabled_periods_UI = "day,week,month,year,range"
+
+; The list of periods that are available in through the API. This also controls the list of periods that are allowed
+; to be archived. You can disable some of them if you have a high traffic website and archiving is too compute heavy.
+; NOTE: if you disable a period in the API, it's parent periods are effectively disabled as well. For example, if
+; month periods are disabled, then year periods can no longer be computed, so they are effectively disabled as well.
enabled_periods_API = "day,week,month,year,range"
; whether to enable segment archiving cache