wy96f commented on a change in pull request #2918: NO-JIRA minor changes on test
URL: https://github.com/apache/activemq-artemis/pull/2918#discussion_r358613512
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/ClusterConnectionImpl.java
##########
@@ -801,7 +801,6 @@ private void createNewRecord(final long eventUID,
targetLocator.setInitialConnectAttempts(0);
targetLocator.setClientFailureCheckPeriod(clientFailureCheckPeriod);
targetLocator.setConnectionTTL(connectionTTL);
- targetLocator.setInitialConnectAttempts(0);
Review comment:
`setInitialConnectAttempts` has been set to 0 two lines before, no need to
set it again.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services