You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/06/16 07:06:44 UTC

[apisix] branch master updated: docs: fix err in batch-processor (#7259)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 70ba952ef docs: fix err in batch-processor (#7259)
70ba952ef is described below

commit 70ba952ef7123b463af219a036548aa8721255b4
Author: mika <mi...@qq.com>
AuthorDate: Thu Jun 16 15:06:36 2022 +0800

    docs: fix err in batch-processor (#7259)
---
 docs/en/latest/batch-processor.md | 2 +-
 docs/zh/latest/batch-processor.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/latest/batch-processor.md b/docs/en/latest/batch-processor.md
index 2f1a0e878..a790dbcd2 100644
--- a/docs/en/latest/batch-processor.md
+++ b/docs/en/latest/batch-processor.md
@@ -22,7 +22,7 @@ title: Batch Processor
 -->
 
 The batch processor can be used to aggregate entries(logs/any data) and process them in a batch.
-When the batch_max_size is set to zero the processor will execute each entry immediately. Setting the batch max size more
+When the batch_max_size is set to 1 the processor will execute each entry immediately. Setting the batch max size more
 than 1 will start aggregating the entries until it reaches the max size or the timeout expires.
 
 ## Configurations
diff --git a/docs/zh/latest/batch-processor.md b/docs/zh/latest/batch-processor.md
index 09f8d5505..df6d5972e 100644
--- a/docs/zh/latest/batch-processor.md
+++ b/docs/zh/latest/batch-processor.md
@@ -22,7 +22,7 @@ title: 批处理器
 -->
 
 批处理器可用于聚合条目(日志/任何数据)并进行批处理。
-当 `batch_max_size` 设置为零时,处理器将立即执行每个条目。将批处理的最大值设置为大于 1 将开始聚合条目,直到达到最大值或超时。
+当 `batch_max_size` 设置为 1 时,处理器将立即执行每个条目。将批处理的最大值设置为大于 1 将开始聚合条目,直到达到最大值或超时。
 
 ## 配置