perf(api/notify): drop per-request log from info to debug

- Demote logger.info to logger.debug in notify handler

- Eliminate worker-thread pipe overhead from pino-pretty on the hot path
This commit is contained in:
coo1estguy
2026-09-26 23:22:42 +05:30
parent 7680570bee
commit 39da6c23d7
+1 -1
View File
@@ -420,7 +420,7 @@ export function createHandlers(deps: Deps) {
messageIds.push(...chunkMessageIds);
}
logger.info({ count: targets.length, priority: p }, "notification requested");
logger.debug({ count: targets.length, priority: p }, "notification requested");
metrics.messagesPublished.inc({ channel: "api", priority: p }, targets.length);
if (targets.length === 1) {