File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
app/code/Magento/PageBuilderAnalytics Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function __construct(
51
51
Config $ config ,
52
52
QueryFactory $ queryFactory ,
53
53
ConnectionFactory $ connectionFactory ,
54
- $ batchSize = 1000
54
+ $ batchSize = 5000
55
55
) {
56
56
$ this ->config = $ config ;
57
57
$ this ->queryFactory = $ queryFactory ;
@@ -101,11 +101,9 @@ public function getReport($name) : \IteratorIterator
101
101
}
102
102
}
103
103
104
- $ total = 0 ;
105
104
$ reportData [] = ['Content Type ' , 'Count ' ];
106
105
foreach ($ contentTypes as $ type ) {
107
106
$ reportData [] = [$ type ['name ' ], $ typeCounts [$ type ['name ' ]]];
108
- $ total = $ total + $ typeCounts [$ type ['name ' ]];
109
107
}
110
108
111
109
return new \IteratorIterator (
Original file line number Diff line number Diff line change 16
16
</argument >
17
17
</arguments >
18
18
</type >
19
- <type name =" Magento\PageBuilderAnalytics\Model\ContentTypeUsageReportProvider" >
20
- <arguments >
21
- <argument name =" batchSize" xsi : type =" number" >5000</argument >
22
- </arguments >
23
- </type >
24
19
</config >
You can’t perform that action at this time.
0 commit comments