File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/internal/Magento/Framework/Mview Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class View extends \Magento\Framework\DataObject implements ViewInterface
24
24
/**
25
25
* Max versions to load from database at a time
26
26
*/
27
- const MAX_VERSION_QUERY_BATCH = 100000 ;
27
+ private static $ maxVersionQueryBatch = 100000 ;
28
28
29
29
/**
30
30
* @var string
@@ -277,7 +277,7 @@ public function update()
277
277
try {
278
278
$ this ->getState ()->setStatus (View \StateInterface::STATUS_WORKING )->save ();
279
279
280
- $ versionBatchSize = self ::MAX_VERSION_QUERY_BATCH ;
280
+ $ versionBatchSize = self ::$ maxVersionQueryBatch ;
281
281
$ batchSize = isset ($ this ->changelogBatchSize [$ this ->getChangelog ()->getViewId ()])
282
282
? $ this ->changelogBatchSize [$ this ->getChangelog ()->getViewId ()]
283
283
: self ::DEFAULT_BATCH_SIZE ;
You can’t perform that action at this time.
0 commit comments