1
0
mirror of synced 2025-12-14 09:08:09 +08:00

修改约束条件

This commit is contained in:
zhouzj
2021-03-14 12:13:37 +08:00
parent 85dfbd8528
commit cac6ede6b7
3 changed files with 7 additions and 8 deletions

View File

@@ -50,9 +50,9 @@ public class IdGeneratorOptions {
/**
* 最小序列数(含)
* 默认11,不小于5不大于MaxSeqNumber-2
* 默认5,不小于1不大于MaxSeqNumber-1
*/
public short MinSeqNumber = 11;
public short MinSeqNumber = 5;
/**
* 最大漂移次数(含)