chore(broker): tag stale-sweep evictions with an explicit reason
evictPresenceFully(pid, "stale_sweep_flipped_live_lease") so the "ws evict full" line distinguishes reconciler evictions from grace expiry and close-while-offline in the logs. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -5826,7 +5826,7 @@ async function main(): Promise<void> {
|
||||
session_pubkey: conn?.sessionPubkey?.slice(0, 12) ?? "(member-WS)",
|
||||
last_pong_ago_ms: conn ? Date.now() - conn.lastPongAt : -1,
|
||||
});
|
||||
void evictPresenceFully(pid);
|
||||
void evictPresenceFully(pid, "stale_sweep_flipped_live_lease");
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user