Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 8ac650c

Browse files
authored
Grammar and formatting
1 parent f3d8f2b commit 8ac650c

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

src/guides/v2.4/extension-dev-guide/indexer-batch.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,18 @@ The following examples illustrate how to define a custom batch size for configur
104104
</type>
105105
```
106106

107-
### Setting batch size through environment variables.
107+
### Setting batch size with environment variables
108108

109-
Starting from 2.4.3 its possible to configure the batch size through the environment variables or in `app/etc/env.php` file for `cataloginventory_stock`, `catalog_category_product`, `catalogsearch_fulltext`, `catalog_product_price`, `catalogpermissions_category`, `inventory` indexers.
109+
Starting in Magento 2.4.3, it is possible to configure the batch size with the environment variables, or in `app/etc/env.php` for the following indexers:
110110

111-
Example of configuration in `app/etc/env.php`
111+
- `cataloginventory_stock`
112+
- `catalog_category_product`
113+
- `catalogsearch_fulltext`
114+
- `catalog_product_price`
115+
- `catalogpermissions_category`
116+
- `inventory`
117+
118+
Here is an example of the configuration in `app/etc/env.php`
112119

113120
```php
114121
<?php
@@ -136,8 +143,8 @@ return [
136143
];
137144
```
138145

139-
Size for `catalog_category_product`, `catalogpermissions_category`, `catalogpermissions_category` batches can be setup for all product types only.
140-
Size for `cataloginventory_stock`, `catalog_product_price`, `inventory` can be set up for each product type. Also, if there is no batch size for a specific product type, the `default` value will be used. It is recommended to set the `default` value for each indexer so that there can be different batch sizes per product type.
146+
The batches size for `catalog_category_product`, `catalogpermissions_category`, `catalogpermissions_category` will be set for all product types.
147+
Batch size for `cataloginventory_stock`, `catalog_product_price`, `inventory` can be set up for each product type. If no batch size is set for a specific product type, the `default` value is used. We recommend setting the `default` value for each indexer to allow for different batch sizes per product type.
141148

142149
## Indexer Table Switching
143150

0 commit comments

Comments
 (0)