1
0
mirror of synced 2026-10-24 15:36:11 +08:00

修改参数注释

This commit is contained in:
yitter
2021-04-06 11:09:49 +08:00
parent 56af98fcfc
commit 5826b6aa1c
5 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ pub struct IdGeneratorOptions {
/// 设置范围 [MinSeqNumber, 2^SeqBitLength-1],默认值0,表示最大序列数取最大值(2^SeqBitLength-1])
pub MaxSeqNumber: u32,
/// 默认值5,取值范围 [5, MaxSeqNumber],每毫秒的前5个序列数对应编号是0-4是保留位,其中1-4是时间回拨相应预留位,0是手工新值预留位
/// 默认值5,取值范围 [5, MaxSeqNumber],每毫秒的前5个序列数对应编号0-4是保留位,其中1-4是时间回拨相应预留位,0是手工新值预留位
pub MinSeqNumber: u32,
/// 最大漂移次数(含),默认2000,推荐范围 500-20000(与计算能力有关)