Skip to content

Commit

Permalink
Fix so that we use 3 config servers when we have 3 or more nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Harald Musum committed Aug 15, 2024
1 parent 356fe9d commit 03cb00a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def deploy_test_app(add_searcher=nil)
end

app = app.configserver("node1").num_hosts(@num_hosts)
if @num_hosts == 3
if @num_hosts >= 3
app = app.configserver("node2").
configserver("node3")
end
Expand Down

0 comments on commit 03cb00a

Please sign in to comment.