limit local ports to 5 in UnicastZenPing

This commit is contained in:
Simon Willnauer 2015-08-20 16:38:50 +02:00
parent e2e15c5940
commit d00561b76f

View file

@ -66,7 +66,7 @@ public class UnicastZenPing extends AbstractLifecycleComponent<ZenPing> implemen
// these limits are per-address
public static final int LIMIT_FOREIGN_PORTS_COUNT = 1;
public static final int LIMIT_LOCAL_PORTS_COUNT = 25;
public static final int LIMIT_LOCAL_PORTS_COUNT = 5;
private final ThreadPool threadPool;