mirror of
https://github.com/devkitshq/notifkit.git
synced 2026-10-19 18:24:52 +02:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user