Commit 8e8799a6845174fb41b4bd07df3581484fe36207
1 parent
aebb67f4
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/data/directive/MsgIdGenerator.java
| ... | ... | @@ -12,7 +12,7 @@ public class MsgIdGenerator { |
| 12 | 12 | |
| 13 | 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 | 17 | public synchronized static int getMsgId(){ |
| 18 | 18 | msgId ++; | ... | ... |