1
0
mirror of synced 2025-12-08 06:08:13 +08:00

auto commit

This commit is contained in:
yitter
2021-04-13 15:12:14 +08:00
parent 39476e4aa6
commit a59463e04c
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}