Skip to content

Commit d00561b

Browse files
committed
limit local ports to 5 in UnicastZenPing
1 parent e2e15c5 commit d00561b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/org/elasticsearch/discovery/zen/ping/unicast/UnicastZenPing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class UnicastZenPing extends AbstractLifecycleComponent<ZenPing> implemen
6666

6767
// these limits are per-address
6868
public static final int LIMIT_FOREIGN_PORTS_COUNT = 1;
69-
public static final int LIMIT_LOCAL_PORTS_COUNT = 25;
69+
public static final int LIMIT_LOCAL_PORTS_COUNT = 5;
7070

7171

7272
private final ThreadPool threadPool;

0 commit comments

Comments
 (0)