auto commit
This commit is contained in:
@@ -42,7 +42,7 @@ public class SnowWorkerM1 implements ISnowWorker {
|
||||
protected final short MinSeqNumber;
|
||||
|
||||
/**
|
||||
* 最大漂移次数
|
||||
* 最大漂移次数(含)
|
||||
*/
|
||||
protected final int TopOverCostCount;
|
||||
|
||||
@@ -143,7 +143,7 @@ public class SnowWorkerM1 implements ISnowWorker {
|
||||
_TurnBackIndex++;
|
||||
|
||||
// 每毫秒序列数的前5位是预留位,0用于手工新值,1-4是时间回拨次序
|
||||
// 最多4次回拨(防止回拨重叠)
|
||||
// 支持4次回拨次序(避免回拨重叠导致ID重复),可无限次回拨(次序循环使用)。
|
||||
if (_TurnBackIndex > 4) {
|
||||
_TurnBackIndex = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user