From a053ab6c3448025934c3e0710bf721b59656f70b Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Wed, 3 Jul 2019 22:46:47 -0400 Subject: [PATCH] Remove resource leak detection level setting --- proxy/src/main/java/com/velocitypowered/proxy/Velocity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java b/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java index a197cce37..d00274735 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/Velocity.java @@ -1,7 +1,5 @@ package com.velocitypowered.proxy; -import io.netty.util.ResourceLeakDetector; -import io.netty.util.ResourceLeakDetector.Level; import java.text.DecimalFormat; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -37,8 +35,6 @@ public class Velocity { return; } - ResourceLeakDetector.setLevel(Level.PARANOID); - long startTime = System.currentTimeMillis(); VelocityServer server = new VelocityServer(options);