-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expose PeerId in connection-limits crate #6025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
rust-libp2p/misc/connection-limits/src/lib.rs Line 156 in 60e93e7
|
Would it make sense to, instead of including the We also already added it with #4818 to the matching Lines 734 to 762 in 8199dac
|
I was wondering if #6027 is still needed if we add the peer-id in |
Ah I see what you mean, I've opened #6032 as a result of this discussion. Yes you're right, if I get the |
Description
Expose the PeerId of the peer who exceeded the limit, and also expose Kind as pub so we can use that PeerId
Motivation
We'd like insight into which Peer is exceeding the connection limit
Current Implementation
Opaquely states the limit was exceeded, but not by who.
Are you planning to do it yourself in a pull request?
Yes
The text was updated successfully, but these errors were encountered: