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

membphis 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 4855813  docs(request-id): fix typo in request-id plugin documents. 
(#5832)
4855813 is described below

commit 4855813e617f15594e8b2fd47514a424759c8d35
Author: Carl Chen <ccf.develo...@gmail.com>
AuthorDate: Fri Dec 17 11:39:16 2021 +0800

    docs(request-id): fix typo in request-id plugin documents. (#5832)
---
 docs/en/latest/plugins/request-id.md | 4 ++--
 docs/zh/latest/plugins/request-id.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/latest/plugins/request-id.md 
b/docs/en/latest/plugins/request-id.md
index 871c542..7a29ade 100644
--- a/docs/en/latest/plugins/request-id.md
+++ b/docs/en/latest/plugins/request-id.md
@@ -105,7 +105,7 @@ plugin_attr:
 
 - `snowflake_epoc` default start time is  `2021-01-01T00:00:00Z`, and it can 
support `69 year` approximately to `2090-09-0715:47:35Z` according to the 
default configuration
 - `data_machine_bits` corresponds to the set of workIDs and datacEnteridd in 
the snowflake definition. The plug-in aslocates a unique ID to each process. 
Maximum number of supported processes is `pow(2, data_machine_bits)`. The 
default number of `12 bits` is up to `4096`.
-- `sequence_bits` defaults to `10 bits` and each process generates up to 
`1024` ID per second
+- `sequence_bits` defaults to `10 bits` and each process generates up to 
`1024` ID per millisecond.
 
 #### example
 
@@ -115,7 +115,7 @@ plugin_attr:
 
 > - Start time 2014-10-20 T15:00:00.000z, accurate to milliseconds. It can 
 > last about 69 years
 > - supports up to `1024` processes
-> - Up to `4096` ID per second per process
+> - Up to `4096` ID per millisecond per process
 
 ```yaml
 plugin_attr:
diff --git a/docs/zh/latest/plugins/request-id.md 
b/docs/zh/latest/plugins/request-id.md
index 5cbc42c..87ab863 100644
--- a/docs/zh/latest/plugins/request-id.md
+++ b/docs/zh/latest/plugins/request-id.md
@@ -104,7 +104,7 @@ plugin_attr:
 
 - snowflake_epoc 默认起始时间为 `2021-01-01T00:00:00Z`, 按默认配置可以支持 `69年` 大约可以使用到 
`2090-09-07 15:47:35Z`
 - data_machine_bits 对应的是 snowflake 定义中的 WorkerID 和 DatacenterID 
的集合,插件会为每一个进程分配一个唯一ID,最大支持进程数为 `pow(2, data_machine_bits)`。默认占 `12 bits` 最多支持 
`4096` 个进程。
-- sequence_bits 默认占 `10 bits`, 每个进程每秒最多生成 `1024` 个ID
+- sequence_bits 默认占 `10 bits`, 每个进程每毫秒最多生成 `1024` 个ID
 
 #### 配置示例
 
@@ -114,7 +114,7 @@ plugin_attr:
 
 > - 起始时间 2014-10-20T15:00:00.000Z, 精确到毫秒为单位。大约可以使用 `69年`
 > - 最多支持 `1024` 个进程
-> - 每个进程每秒最多产生 `4096` 个ID
+> - 每个进程每毫秒最多产生 `4096` 个ID
 
 ```yaml
 plugin_attr:

Reply via email to