set leak detector to paranoid
This commit is contained in:
parent
6c8b33913a
commit
5cadb716bc
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ public final class Client {
|
|||
System.setProperty("io.netty.recycler.maxCapacity", Integer.toString(0));
|
||||
}
|
||||
if (System.getProperty("io.netty.leakDetection.level") == null) {
|
||||
System.setProperty("io.netty.leakDetection.level", "advanced");
|
||||
System.setProperty("io.netty.leakDetection.level", "paranoid");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ public class SimpleHttp1Test {
|
|||
private static final Logger logger = Logger.getLogger(SimpleHttp1Test.class.getName());
|
||||
|
||||
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("java.util.logging.SimpleFormatter.format",
|
||||
|
|
Loading…
Reference in a new issue