Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

debug: log acceptConnection metrics

Gergő Móricz26ce736f6149
diff --git a/apps/api/src/services/system-monitor.ts b/apps/api/src/services/system-monitor.ts
index 886de6ff0..b8a9533c6 100644
--- a/apps/api/src/services/system-monitor.ts
+++ b/apps/api/src/services/system-monitor.ts
@@ -214,6 +214,8 @@ class SystemMonitor {
const cpuUsage = await this.checkCpuUsage();
const memoryUsage = await this.checkMemoryUsage();
+ logger.debug("acceptConnection metrics", { cpuUsage, memoryUsage });
+
return cpuUsage < MAX_CPU && memoryUsage < MAX_RAM;
}