File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
lib/internal/Magento/Framework/DB Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ class FieldDataConverter
21
21
*/
22
22
const BATCH_SIZE_VARIABLE_NAME = 'DATA_CONVERTER_BATCH_SIZE ' ;
23
23
24
- /**
25
- * Default batch size
26
- */
27
24
const DEFAULT_BATCH_SIZE = 50000 ;
28
25
29
26
/**
@@ -131,7 +128,7 @@ private function getBatchSize()
131
128
{
132
129
if (null !== $ this ->envBatchSize ) {
133
130
$ batchSize = (int ) $ this ->envBatchSize ;
134
- if (bccomp ($ this -> envBatchSize , PHP_INT_MAX , 0 ) === 1 || $ batchSize < 1 ) {
131
+ if (bccomp ($ batchSize , PHP_INT_MAX , 0 ) === 1 || $ batchSize < 1 ) {
135
132
throw new \InvalidArgumentException (
136
133
'Invalid value for environment variable ' . self ::BATCH_SIZE_VARIABLE_NAME . '. '
137
134
. 'Should be integer, >= 1 and < value of PHP_INT_MAX '
You can’t perform that action at this time.
0 commit comments