Skip to content
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

feat: emit peer:identify event after identify completes #1741

Merged
merged 1 commit into from
May 5, 2023

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented May 5, 2023

To monitor when peers complete the identify protocol, emit a peer:identify event with the protocol reply.

This is more reliable than doing an on-demand identify since we can easily breach per-protocol stream limits for identify.

Refs: #1574

To monitor when peers complete the identify protocol, emit a
`peer:identify` event with the protocol reply.

This is more reliable than doing an on-demand identify since we can
easily breach per-protocol stream limits for identify.
@achingbrain achingbrain requested review from wemeetagain and maschad May 5, 2023 14:07
Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, LGTM

@achingbrain achingbrain merged commit cd67b7d into master May 5, 2023
@achingbrain achingbrain deleted the feat/emit-peer-identify-event branch May 5, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants