mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 08:50:23 +00:00
fix(gateway): skip heartbeat wake on deduped notifications
This commit is contained in:
@@ -485,8 +485,13 @@ export const handleNodeEvent = async (ctx: NodeEventContext, nodeId: string, evt
|
||||
}
|
||||
}
|
||||
|
||||
enqueueSystemEvent(summary, { sessionKey, contextKey: `notification:${key}` });
|
||||
requestHeartbeatNow({ reason: "notifications-event", sessionKey });
|
||||
const queued = enqueueSystemEvent(summary, {
|
||||
sessionKey,
|
||||
contextKey: `notification:${key}`,
|
||||
});
|
||||
if (queued) {
|
||||
requestHeartbeatNow({ reason: "notifications-event", sessionKey });
|
||||
}
|
||||
return;
|
||||
}
|
||||
case "chat.subscribe": {
|
||||
|
||||
Reference in New Issue
Block a user