Skip to content

Commit cd6770c

Browse files
add maximum batch payload size experimental feature
1 parent 4f76232 commit cd6770c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

learn/resources/experimental_features_overview.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ Activating or deactivating experimental features this way does not require you t
5757
| [Dumpless upgrade](/learn/self_hosted/configure_meilisearch_at_launch#dumpless-upgrade) | Upgrade Meilisearch without generating a dump | API route |
5858
| [Composite embedders](/reference/api/settings#composite-embedders) | Enable composite embedders | API route |
5959
| [Search query embedding cache](/learn/self_hosted/configure_meilisearch_at_launch#search-query-embedding-cache) | Enable a cache for search query embeddings | CLI flag or environment variable |
60+
| [Maximum batch payload size](/learn/self_hosted/configure_meilisearch_at_launch#maximum-batch-payload-size) | Limit batch payload size | CLI flag or environment variable |

learn/self_hosted/configure_meilisearch_at_launch.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,15 @@ Includes an authentication token in the authorization header when notifying the
506506

507507
Limit the number of tasks Meilisearch performs in a single batch. May improve stability in systems handling a large queue of resource-intensive tasks.
508508

509+
### Maximum batch payload size <NoticeTag type="experimental" label="experimental" />
510+
511+
**Environment variable**: `MEILI_EXPERIMENTAL_LIMIT_BATCHED_TASKS_TOTAL_SIZE`<br />
512+
**CLI option**: `--experimental-limit-batched-tasks-total-size`<br />
513+
**Default value**: `None`<br />
514+
**Expected value**: an integer
515+
516+
Sets a maximum total payload size for batches in bytes. Smaller batches are less efficient, but consume less RAM and reduce immediate latency.
517+
509518
### Replication parameters <NoticeTag type="experimental" label="experimental" />
510519

511520
<Warning>

0 commit comments

Comments
 (0)