diff --git a/server/src/main/java/io/kroki/server/service/KrokiBlockedThreadChecker.java b/server/src/main/java/io/kroki/server/service/KrokiBlockedThreadChecker.java index 8f651fe10..e4bdbdd0d 100644 --- a/server/src/main/java/io/kroki/server/service/KrokiBlockedThreadChecker.java +++ b/server/src/main/java/io/kroki/server/service/KrokiBlockedThreadChecker.java @@ -2,7 +2,6 @@ import com.github.benmanes.caffeine.cache.Cache; import com.github.benmanes.caffeine.cache.Caffeine; -import com.google.common.annotations.VisibleForTesting; import io.vertx.core.Vertx; import io.vertx.core.VertxException; import io.vertx.core.VertxOptions; @@ -70,7 +69,6 @@ private long nonExpiredEntryCount(Cache stats) { return stats.asMap().entrySet().stream().filter(e -> e.getValue().isAfter(now)).count(); } - @VisibleForTesting void trackBlockedThread(BlockedThreadEvent bte) { if (bte.duration() > bte.warningExceptionTime()) { if (bte.thread().getName().startsWith("vert.x-worker-thread")) {