Skip to content

Commit fe1d945

Browse files
authored
Update Code for Replica Update
1 parent c805426 commit fe1d945

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Helper/Entity/ProductHelper.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,9 @@ public function setSettings($indexName, $indexNameTmp, $storeId, $saveToTmpIndic
469469
}
470470

471471
// Managing Virtual Replica
472-
$replicas = $this->handleVirtualReplica($replicas);
472+
if ($this->configHelper->useVirtualReplica($storeId)) {
473+
$replicas = $this->handleVirtualReplica($replicas);
474+
}
473475

474476
// Merge current replicas with sorting replicas to not delete A/B testing replica indices
475477
try {

0 commit comments

Comments
 (0)