This commit is contained in:
imhao183
2020-07-01 11:04:10 +08:00
parent b8170c4757
commit b11d609ea0
@@ -13,7 +13,7 @@ import java.util.Date;
public class MessageShardingUtil {
private static SpinLock mLock = new SpinLock();
private static int rotateId = 0;
private static volatile int rotateId = 0;
private static int nodeId = 0;
private static int rotateIdWidth = 15;