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

Correct a bug that would cause unnecessary discovery requests #5111

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

AgeManning
Copy link
Member

Issue Addressed

@antondlr found a bug where we would create unnecessary discovery queries. This occurs when we are close to our limit but are already dialing enough peers to reach over the limit. In this case, we would perform an additional unnecessary discovery request and report an underflow'd number.

@AgeManning AgeManning added the ready-for-review The code is ready for review label Jan 23, 2024
@AgeManning AgeManning requested a review from jxs January 23, 2024 05:09
@AgeManning AgeManning added the v4.6.0 ETA Q1 2024 label Jan 23, 2024
Copy link
Collaborator

@dapplion dapplion left a comment

Choose a reason for hiding this comment

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

LGTM

@AgeManning AgeManning merged commit 5851027 into sigp:unstable Jan 23, 2024
28 checks passed
danielramirezch pushed a commit to danielramirezch/lighthouse that referenced this pull request Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review v4.6.0 ETA Q1 2024
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants