diff --git a/CHANGELOG.md b/CHANGELOG.md index 932a07810..fbc4fe595 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Docs: https://docs.clawd.bot - Memory: apply OpenAI batch defaults even without explicit remote config. - macOS: bundle Textual resources in packaged app builds to avoid code block crashes. (#1006) - Tools: return a companion-app-required message when `system.run` is requested without a supporting node. +- Discord: only emit slow listener warnings after 30s. ## 2026.1.17-3 ### Changes diff --git a/src/discord/monitor/listeners.ts b/src/discord/monitor/listeners.ts index 2476eadce..96b102cd2 100644 --- a/src/discord/monitor/listeners.ts +++ b/src/discord/monitor/listeners.ts @@ -30,7 +30,7 @@ export type DiscordMessageHandler = (data: DiscordMessageEvent, client: Client) type DiscordReactionEvent = Parameters[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: {