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:
authordiosmosis <diosmosis@users.noreply.github.com>2020-12-07 03:11:28 +0300
committerGitHub <noreply@github.com>2020-12-07 03:11:28 +0300
commitc58267fcbf2fd55ca39685928d88f3505e212fd3 (patch)
tree59be912a3d0cb63a99fee0106f949a6dd58271c3 /core
parentbfce7cd9bc5e9870bbe133a900b9923ffa858cc7 (diff)
Remove invalidations for segments that are not pre-processed if found. (#16895)
Diffstat (limited to 'core')
-rw-r--r--core/CronArchive/QueueConsumer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/CronArchive/QueueConsumer.php b/core/CronArchive/QueueConsumer.php
index d3886d97da..734a4ce962 100644
--- a/core/CronArchive/QueueConsumer.php
+++ b/core/CronArchive/QueueConsumer.php
@@ -351,7 +351,7 @@ class QueueConsumer
}
$this->logger->debug("Found invalidation for segment that does not have auto archiving enabled, skipping: {$nextArchive['idinvalidation']}");
- $this->invalidationsToExclude[] = $nextArchive['idinvalidation'];
+ $this->model->deleteInvalidations([$nextArchive]);
++$iterations;
}