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/core
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2015-08-31 11:02:54 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-08-31 11:02:54 +0300
commit4733f0b2b9f4b0b634ad15aac16b8c79c2918021 (patch)
tree4a5b194df65412479048998d9f2a42f5c7c75e97 /core
parent2db820bf7897508ff29c2219e8bcadad3fc0502a (diff)
generate timer for each segment
Diffstat (limited to 'core')
-rw-r--r--core/CronArchive.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/CronArchive.php b/core/CronArchive.php
index 4eaafc6f8f..e14222ab85 100644
--- a/core/CronArchive.php
+++ b/core/CronArchive.php
@@ -618,8 +618,9 @@ class CronArchive
// period=range
$customDateRangesToPreProcessForSite = $this->getCustomDateRangeToPreProcess($idSite);
foreach ($customDateRangesToPreProcessForSite as $dateRange) {
+ $timer = new Timer();
$archiveSegments = false; // do not pre-process segments for period=range #7611
- $periodArchiveWasSuccessful = $this->archiveReportsFor($idSite, 'range', $dateRange, $archiveSegments);
+ $periodArchiveWasSuccessful = $this->archiveReportsFor($idSite, 'range', $dateRange, $archiveSegments, $timer);
$success = $periodArchiveWasSuccessful && $success;
}
}