Skip to content

Commit 655abd4

Browse files
committed
ACP2E-2204: Price indexing performance gradually degrades overtime
- trying to drop tables instead
1 parent 5766aa8 commit 655abd4

File tree

1 file changed

+0
-4
lines changed
  • app/code/Magento/Catalog/Model/Indexer/Product/Price/Action

1 file changed

+0
-4
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Full.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,8 @@ private function reindexByBatches(
259259
array $dimensions,
260260
string $typeId
261261
): void {
262-
$i = 0;
263262
foreach ($this->getBatchesForIndexer($typeId) as $batch) {
264-
$start = microtime(true);
265263
$this->reindexByBatchWithDimensions($priceIndexer, $batch, $dimensions);
266-
$time_elapsed_secs = microtime(true) - $start;
267-
echo $i++."--> $time_elapsed_secs secs".PHP_EOL;
268264
}
269265
}
270266

0 commit comments

Comments
 (0)