提交 8e8dab93 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

Update GlobalIdGenerator.java

上级 4fda33b1
......@@ -84,6 +84,9 @@ public final class GlobalIdGenerator {
}
private short nextThreadSeq() {
if (threadSeq == 10000) {
threadSeq = 0;
}
return threadSeq++;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册