Fixed thread monitoring regression introduced in 1.5.6

This commit is contained in:
Unknown 2019-08-13 22:51:10 +02:00
parent 4d09b534af
commit 801b66c951

View file

@ -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;