-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docs] Configuring catalog promotions batch sizes explained
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
docs/cookbook/promotions/catalog-promotion-batch-sizes.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
How to customize catalog promotion batches size? | ||
================================================ | ||
|
||
In case of looking for improving performance of processing your `catalog promotions` | ||
|
||
Change default batch size: | ||
---------------------------- | ||
|
||
By default `batch_size` in Sylius is fixed at processing `100` variants per batch. | ||
In order if you want to increase or decrease it's value, you have to overwrite it. | ||
You can achieve that by adding to your `_sylius.yaml` configuration file this config with changed `batch_size` value: | ||
|
||
.. code-block:: yaml | ||
sylius_core: | ||
catalog_promotions: | ||
batch_size: 100 | ||
Then your batch size should be fixed to passed value. |