File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
lib/internal/Magento/Framework/Mview Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -280,13 +280,10 @@ public function update()
280
280
? $ this ->changelogBatchSize [$ this ->getChangelog ()->getViewId ()]
281
281
: self ::DEFAULT_BATCH_SIZE ;
282
282
283
- for ($ versionFrom = $ lastVersionId ;
284
- $ versionFrom < $ currentVersionId ;
285
- $ versionFrom += $ versionBatchSize
286
- ) {
283
+ for ($ vsFrom = $ lastVersionId ; $ vsFrom < $ currentVersionId ; $ vsFrom += $ versionBatchSize ) {
287
284
// Don't go past the current version for atomicy.
288
- $ versionTo = min ($ currentVersionId , $ versionFrom + $ versionBatchSize );
289
- $ ids = $ this ->getChangelog ()->getList ($ versionFrom , $ versionTo );
285
+ $ versionTo = min ($ currentVersionId , $ vsFrom + $ versionBatchSize );
286
+ $ ids = $ this ->getChangelog ()->getList ($ vsFrom , $ versionTo );
290
287
291
288
// We run the actual indexer in batches.
292
289
// Chunked AFTER loading to avoid duplicates in separate chunks.
You can’t perform that action at this time.
0 commit comments