Skip to content

Commit

Permalink
support redis
Browse files Browse the repository at this point in the history
  • Loading branch information
rensailong committed Dec 1, 2020
1 parent e7f0bb7 commit 3e6ec34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static void main0() throws Throwable {

// 其他节点地址
config.setPeerAddrs(Arrays.asList(peerAddr));
config.setStateMachineSaveType(StateMachineSaveType.REDIS);
config.setStateMachineSaveType(StateMachineSaveType.ROCKS_DB);
Node node = DefaultNode.getInstance();
node.setConfig(config);

Expand Down

0 comments on commit 3e6ec34

Please sign in to comment.