feat(p2p): Track and Return Peer Ping Latencies#2112
Conversation
📚
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Good to go for now. Let's keep an eye on this to see if using the std mutex causes any issues.
It'll block the whole thread while waiting to acquire the lock, which could be pretty problematic if the future is on the same thread as the runtime (we can't control that.) Switching over to a tokio mutex and biting the async bullet would be preferable if not too much trouble.
### Description Tracks peer ping latencies so we can return the latencies in the peer info response. Progress on op-rs/kona#1562
### Description Tracks peer ping latencies so we can return the latencies in the peer info response. Progress on #1562
Description
Tracks peer ping latencies so we can return the latencies in the peer info response.
Progress on #1562