Skip to content

Commit bdde700

Browse files
committed
fix bug.
1 parent 4700a63 commit bdde700

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

txlcn-common/src/main/java/com/codingapi/txlcn/common/util/id/SnowFlakeGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public SnowFlakeGenerator create(long idcId, long machineId) {
6464
/**
6565
* 可分配的位数
6666
*/
67-
private final static int REMAIN_BIT_NUM = 32;
67+
private final static int REMAIN_BIT_NUM = 22;
6868

6969
/**
7070
* idc编号

0 commit comments

Comments
 (0)