Update GlobalIdGenerator.java
This commit is contained in:
parent
4fda33b16c
commit
8e8dab9391
|
|
@ -84,6 +84,9 @@ public final class GlobalIdGenerator {
|
|||
}
|
||||
|
||||
private short nextThreadSeq() {
|
||||
if (threadSeq == 10000) {
|
||||
threadSeq = 0;
|
||||
}
|
||||
return threadSeq++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue