set leak detector to paranoid

This commit is contained in:
Jörg Prante 2018-03-08 16:12:28 +01:00
parent 6c8b33913a
commit 5cadb716bc
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ public final class Client {
System.setProperty("io.netty.recycler.maxCapacity", Integer.toString(0)); System.setProperty("io.netty.recycler.maxCapacity", Integer.toString(0));
} }
if (System.getProperty("io.netty.leakDetection.level") == null) { if (System.getProperty("io.netty.leakDetection.level") == null) {
System.setProperty("io.netty.leakDetection.level", "advanced"); System.setProperty("io.netty.leakDetection.level", "paranoid");
} }
} }

View file

@ -46,7 +46,7 @@ public class SimpleHttp1Test {
private static final Logger logger = Logger.getLogger(SimpleHttp1Test.class.getName()); private static final Logger logger = Logger.getLogger(SimpleHttp1Test.class.getName());
static { static {
System.setProperty("io.netty.leakDetection.level", "advanced"); System.setProperty("io.netty.leakDetection.level", "paranoid");
System.setProperty("io.netty.noKeySetOptimization", Boolean.toString(true)); System.setProperty("io.netty.noKeySetOptimization", Boolean.toString(true));
System.setProperty("java.util.logging.SimpleFormatter.format", System.setProperty("java.util.logging.SimpleFormatter.format",