You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove redundant HeartbeatManager::heartbeat() wrapper function
- Consolidate all heartbeat logic directly in PeerManager::heartbeat()
- Simplify HeartbeatManager to only handle timing (poll_tick)
- Clean up unused imports in heartbeat.rs
- Improve code organization with clear separation of concerns:
- HeartbeatManager: Timer management only
- PeerManager: All heartbeat logic and orchestration
- PeerDiscovery: Peer discovery/connection logic
This eliminates an unnecessary layer of indirection and centralizes
heartbeat functionality for better maintainability.
0 commit comments