放开memory队列指标打印

This commit is contained in:
三丙
2024-10-16 09:53:19 +08:00
parent 65084e3269
commit 0122ecf7cd

View File

@@ -20,14 +20,12 @@ public final class DefaultInMemoryStorage implements InMemoryStorage {
@Override @Override
public void printStats() { public void printStats() {
if (log.isDebugEnabled()) {
storage.forEach((topic, queue) -> { storage.forEach((topic, queue) -> {
if (!queue.isEmpty()) { if (!queue.isEmpty()) {
log.debug("[{}] Queue Size [{}]", topic, queue.size()); log.info("[{}] Queue Size [{}]", topic, queue.size());
} }
}); });
} }
}
@Override @Override
public int getLagTotal() { public int getLagTotal() {