fix: apply nix fmt to node_timeout.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alex Cheema
2026-02-16 06:30:53 -08:00
parent 7913e1a03f
commit 08c94bc283

View File

@@ -65,7 +65,9 @@ def _find_stale_duplicate_nodes(state: State) -> set[NodeId]:
# Keep the node with the most recent last_seen; evict the rest
newest = max(
node_ids,
key=lambda nid: state.last_seen.get(nid, datetime.min.replace(tzinfo=timezone.utc)),
key=lambda nid: state.last_seen.get(
nid, datetime.min.replace(tzinfo=timezone.utc)
),
)
for nid in node_ids:
if nid != newest: