Skip to content

Commit

Permalink
IGNITE-20026 Java thin: Remove port range limitation (#10856)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoothzj authored Jul 26, 2023
1 parent 8fb4c1a commit 0caa8a5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -686,12 +686,6 @@ private static void validateConfiguration(ClientChannelConfiguration cfg) {

if (F.isEmpty(addrs))
error = "At least one Ignite server node must be specified in the Ignite client configuration";
else {
for (InetSocketAddress addr : addrs) {
if (addr.getPort() < 1024 || addr.getPort() > 49151)
error = String.format("Ignite client port %s is out of valid ports range 1024...49151", addr.getPort());
}
}

if (error == null && cfg.getHeartbeatInterval() <= 0)
error = "heartbeatInterval cannot be zero or less.";
Expand Down

0 comments on commit 0caa8a5

Please sign in to comment.