1
0
mirror of synced 2026-02-10 06:57:55 +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与计算能力有关