Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Added more logs to cache processor
Browse files Browse the repository at this point in the history
  • Loading branch information
doliwa-divante committed Nov 11, 2020
1 parent 5d1c8c2 commit 6c3bd90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/module-vsbridge-indexer-core/Cache/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,11 @@ public function cleanCacheInBatches(int $storeId, string $dataType, array $entit
}

foreach ($batches as $batch) {
$this->logger->debug('BATCHES ' . implode(', ', $batch));
$cacheInvalidateUrl = $this->getCacheInvalidateUrl($storeId, $dataType, $entityIds);
$this->logger->debug('BATCHES ' . implode(', ', $batch));
$this->logger->debug('Cache invalidate url ' . $cacheInvalidateUrl);
$this->logger->debug('Store id ' . $storeId);
$this->logger->debug('Data type ' . $dataType);

try {
$this->call($storeId, $cacheInvalidateUrl);
Expand Down

0 comments on commit 6c3bd90

Please sign in to comment.