-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
When using the swam plugin and the master is restarted the swarm client attempts to reconnect 10 times even though we have specified -noreconnect.
The ConnectException is coming from Engine.java in the remoting dependency.
Engine.connect has 10 hard coded retries. The reconnect flag is only checked in the method that calls connect.
We'd also like to configure the number of retries.
We're happy to raise a PR to fix this if you'll accept it.
Pull requests are always welcome chbatey