Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
stateIs0 committed Apr 19, 2022
1 parent 6514e17 commit 3825681
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public static void boot() throws Throwable {
// 其他节点地址
config.setPeerAddrs(Arrays.asList(peerAddr));
config.setStateMachineSaveType(StateMachineSaveType.ROCKS_DB);

Node node = DefaultNode.getInstance();
node.setConfig(config);

Expand Down

0 comments on commit 3825681

Please sign in to comment.