Skip to content

Commit

Permalink
replicate client requests between nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
haaase committed Jan 21, 2025
1 parent a2cb3c7 commit f3ae599
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ object cli {

cluster.value.foreach { (ip, port) =>
node.addClusterConnection(nioTCP.connect(nioTCP.defaultSocketChannel(socketPath(ip, port))))
node.addClientConnection(nioTCP.connect(nioTCP.defaultSocketChannel(socketPath(ip, port - 1))))
}
},
subcommand("udp-node", "starts a cluster node") {
Expand Down

0 comments on commit f3ae599

Please sign in to comment.