Commit 8e8799a6845174fb41b4bd07df3581484fe36207

Authored by 潘钊
1 parent aebb67f4

update...

src/main/java/com/bsth/data/directive/MsgIdGenerator.java
@@ -12,7 +12,7 @@ public class MsgIdGenerator { @@ -12,7 +12,7 @@ public class MsgIdGenerator {
12 12
13 private static int msgId = 1; 13 private static int msgId = 1;
14 14
15 - private final static int MAX_VALUE = Integer.MAX_VALUE - 10; 15 + private final static int MAX_VALUE = Integer.MAX_VALUE - 1000;
16 16
17 public synchronized static int getMsgId(){ 17 public synchronized static int getMsgId(){
18 msgId ++; 18 msgId ++;