mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-15 18:50:41 -07:00
A test TestJetStreamClusterLeafNodeSPOFMigrateLeaders was added at some point that needed the remotes to stop (re)connecting. It made use of existing leafNodeEnabled that was used for GW/Leaf interest propagation races to disable the reconnect, but that may not be the best approach since it could affect users embedding servers and adding leafnodes "dynamically". So this PR introduced a specific boolean specific for that test. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
82 KiB
82 KiB