fix: delay discord slow listener warnings

This commit is contained in:
Peter Steinberger
2026-01-18 01:40:49 +00:00
parent c1da78a271
commit fc60699f03
2 changed files with 2 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ export type DiscordMessageHandler = (data: DiscordMessageEvent, client: Client)
type DiscordReactionEvent = Parameters<MessageReactionAddListener["handle"]>[0];
const DISCORD_SLOW_LISTENER_THRESHOLD_MS = 1000;
const DISCORD_SLOW_LISTENER_THRESHOLD_MS = 30_000;
const discordEventQueueLog = createSubsystemLogger("discord/event-queue");
function logSlowDiscordListener(params: {