
























@@ -1090,26 +1090,26 @@ openclaw logs --follow
1090109010911091</Accordion>
109210921093-<Accordion title="Long-running handlers time out or duplicate replies">
1093+<Accordion title="Long-running Discord turns or duplicate replies">
1094109410951095Typical logs:
109610961097-- `Listener DiscordMessageListener timed out after 30000ms for event MESSAGE_CREATE`
10981097- `Slow listener detected ...`
1099-- `discord inbound worker timed out after ...`
1098+- `stuck session: sessionKey=agent:...:discord:... state=processing ...`
110010991101-Listener budget knob:
1100+Carbon gateway queue knobs:
1102110111031102- single-account: `channels.discord.eventQueue.listenerTimeout`
11041103- multi-account: `channels.discord.accounts.<accountId>.eventQueue.listenerTimeout`
1104+- this only controls Carbon gateway listener work, not agent turn lifetime
110511051106-Worker run timeout knob:
1106+Discord does not apply a channel-owned timeout to queued agent turns. Message listeners hand off immediately, and queued Discord runs preserve per-session ordering until the session/tool/runtime lifecycle completes or aborts the work.
110711071108-- single-account: `channels.discord.inboundWorker.runTimeoutMs`
1109-- multi-account: `channels.discord.accounts.<accountId>.inboundWorker.runTimeoutMs`
1110-- default: `1800000` (30 minutes); set `0` to disable
1108+Deprecated compatibility setting:
111111091112-Recommended baseline:
1110+- `channels.discord.inboundWorker.runTimeoutMs`
1111+- `channels.discord.accounts.<accountId>.inboundWorker.runTimeoutMs`
1112+- ignored by current Discord message handling
1113111311141114```json5
11151115{
@@ -1120,19 +1120,13 @@ openclaw logs --follow
11201120 eventQueue: {
11211121 listenerTimeout: 120000,
11221122 },
1123- inboundWorker: {
1124- runTimeoutMs: 1800000,
1125- },
11261123 },
11271124 },
11281125 },
11291126 },
11301127}
11311128```
113211291133-Use `eventQueue.listenerTimeout` for slow listener setup and `inboundWorker.runTimeoutMs`
1134-only if you want a separate safety valve for queued agent turns.
1135-11361130</Accordion>
1137113111381132<Accordion title="Gateway metadata lookup timeout warnings">
@@ -1193,7 +1187,7 @@ Primary reference: [Configuration reference - Discord](/gateway/config-channels#
11931187- policy: `groupPolicy`, `dm.*`, `guilds.*`, `guilds.*.channels.*`
11941188- command: `commands.native`, `commands.useAccessGroups`, `configWrites`, `slashCommand.*`
11951189- event queue: `eventQueue.listenerTimeout` (listener budget), `eventQueue.maxQueueSize`, `eventQueue.maxConcurrency`
1196-- inbound worker: `inboundWorker.runTimeoutMs`
1190+- deprecated compatibility: `inboundWorker.runTimeoutMs` (ignored)
11971191- gateway metadata: `gatewayInfoTimeoutMs`
11981192- reply/history: `replyToMode`, `historyLimit`, `dmHistoryLimit`, `dms.*.historyLimit`
11991193- delivery: `textChunkLimit`, `chunkMode`, `maxLinesPerMessage`
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。