Skip to content

Commit 7395bae

Browse files
author
Stanislav Idolov
committed
MAGETWO-64182: [Indexer optimizations] Batch data processing for price indexer
1 parent 1ddde99 commit 7395bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Indexer/BatchSizeManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function ensureBatchSize(\Magento\Framework\DB\Adapter\AdapterInterface $
5050

5151
// Log warning if allocated memory for temp table greater than 20% of innodb_buffer_pool_size
5252
if ($size > $bufferPoolSize * .2) {
53-
$this->logger->warning(__(
53+
$this->logger->warning(new \Magento\Framework\Phrase(
5454
'Memory size allocated for temporary table is more than 20% innodb_buffer_pool_size. ' .
5555
'Please update innodb_buffer_pool_size or decrease batch size value.'
5656
));

0 commit comments

Comments
 (0)