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
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2019-02-04 06:03:34 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-02-04 06:03:34 +0300
commitc73613ef94651b9d5a6f74f65079b43eeb6ed744 (patch)
tree1f5fb6ddce05fe5b266cc8d97d439cb42e478766 /plugins/CoreAdminHome/Tasks.php
parentca6012cfc8721922db83f4847992469c58e5fdd5 (diff)
Optimize all archive tables only monthly (#14068)
There is no need to run this every day over all tables.
Diffstat (limited to 'plugins/CoreAdminHome/Tasks.php')
-rw-r--r--plugins/CoreAdminHome/Tasks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreAdminHome/Tasks.php b/plugins/CoreAdminHome/Tasks.php
index e6c7d1b242..5d8dadb3a5 100644
--- a/plugins/CoreAdminHome/Tasks.php
+++ b/plugins/CoreAdminHome/Tasks.php
@@ -65,7 +65,7 @@ class Tasks extends \Piwik\Plugin\Tasks
$this->daily('purgeInvalidatedArchives', null, self::LOW_PRIORITY);
// lowest priority since tables should be optimized after they are modified
- $this->daily('optimizeArchiveTable', null, self::LOWEST_PRIORITY);
+ $this->monthly('optimizeArchiveTable', null, self::LOWEST_PRIORITY);
$this->daily('cleanupTrackingFailures', null, self::LOWEST_PRIORITY);
$this->weekly('notifyTrackingFailures', null, self::LOWEST_PRIORITY);