bug:Skip already-evicted clients during eviction checks in RoomServer

This commit is contained in:
Lloyd
2025-12-22 13:23:34 +00:00
parent 32e13cb40e
commit fbe4e4e2bc

View File

@@ -494,6 +494,10 @@ class RoomServer:
push_failures = sync_state.get('push_failures', 0)
last_activity = sync_state.get('last_activity', 0)
# Skip already-evicted clients (marked with last_activity=0)
if last_activity == 0:
continue
evict = False
reason = ""