mirror of
https://github.com/exo-explore/exo.git
synced 2026-02-20 07:46:42 -05:00
fix: apply nix fmt to node_timeout.py
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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