Add cleanup subscribers counts cache

[MAILPOET-3714]
This commit is contained in:
Jan Lysý
2021-07-23 15:19:41 +02:00
committed by Veljko V
parent 2deaeb284b
commit 19fad073d0
4 changed files with 23 additions and 1 deletions

View File

@@ -46,6 +46,9 @@ class SubscribersCountCacheRecalculation extends SimpleWorker {
// update cache for subscribers without segment
$this->recalculateSegmentCache($timer, 0);
// remove redundancies from cache
$this->subscribersCountsController->removeRedundancyFromStatisticsCache();
return true;
}