1
0
mirror of synced 2025-11-06 03:20:55 +08:00

auto commit

This commit is contained in:
yitter
2022-08-11 11:06:53 +08:00
parent 577aa6620a
commit 4ddce8ef8d

View File

@@ -150,7 +150,7 @@ QQ群646049993
**特别提示**:如果一台服务器部署多个独立服务,需要为每个服务指定不同的 WorkerId。
***SeqBitLength***,序列数位长,**默认值6**,取值范围 [3, 21]建议不小于4决定每毫秒基础生成的ID个数。如果每秒请求数不超过5W保持默认值6即可如果超过5W不超过50W建议赋值10。规则要求WorkerIdBitLength + SeqBitLength 不超过 22。
***SeqBitLength***,序列数位长,**默认值6**,取值范围 [3, 21]建议不小于4决定每毫秒基础生成的ID个数。如果每秒请求数不超过5W保持默认值6即可如果超过5W不超过50W建议赋值10或更大,以此类推。规则要求WorkerIdBitLength + SeqBitLength 不超过 22。
***MinSeqNumber***最小序列数默认值5取值范围 [5, MaxSeqNumber]每毫秒的前5个序列数对应编号0-4是保留位其中1-4是时间回拨相应预留位0是手工新值预留位。