From 801b66c9513458c2d79891d7c030dbeb36b40572 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 13 Aug 2019 22:51:10 +0200 Subject: [PATCH] Fixed thread monitoring regression introduced in 1.5.6 --- src/main/java/cr0s/warpdrive/Commons.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cr0s/warpdrive/Commons.java b/src/main/java/cr0s/warpdrive/Commons.java index 707a39f2..4cf01231 100644 --- a/src/main/java/cr0s/warpdrive/Commons.java +++ b/src/main/java/cr0s/warpdrive/Commons.java @@ -811,7 +811,7 @@ public class Commons { public static void dumpAllThreads() { // only dump once per second final long currentTime_ms = System.currentTimeMillis(); - if (dumpAllThreads_lastDump_ms + 1000L < currentTime_ms) { + if (dumpAllThreads_lastDump_ms + 1000L >= currentTime_ms) { return; } dumpAllThreads_lastDump_ms = currentTime_ms;