fix: apply nix fmt to node_timeout.py
Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
7913e1a03f
commit
08c94bc283
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user