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(swarm): downgrade connection limits warning from warn to debug #3671

Conversation

shamil-gadelshin
Copy link
Contributor

@shamil-gadelshin shamil-gadelshin commented Mar 24, 2023

Description

This tiny PR contains a proposed change for the warning related to the exceeded pending incoming connections limit. This warning can't be controlled and causes user confusion. It contains useful technical info but IMHO should be downgraded from warn to debug.

Tasks

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@thomaseizinger thomaseizinger changed the title swarm: Downgrade connection limits warning. swarm: downgrade connection limits warning from warn to debug Mar 24, 2023
@thomaseizinger thomaseizinger changed the title swarm: downgrade connection limits warning from warn to debug feat(swarm): downgrade connection limits warning from warn to debug Mar 24, 2023
thomaseizinger
thomaseizinger previously approved these changes Mar 24, 2023
Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

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

Sure, note that this is deprecated in favor of #3386 with the next release.

@shamil-gadelshin
Copy link
Contributor Author

Sure, note that this is deprecated in favor of #3386 with the next release.

Got it. Thanks!

@thomaseizinger
Copy link
Contributor

@mxinden any objections to this?

mxinden
mxinden previously approved these changes Mar 30, 2023
@mergify mergify bot dismissed stale reviews from thomaseizinger and mxinden March 30, 2023 11:01

Approvals have been dismissed because the PR was updated after the send-it label was applied.

@mergify mergify bot merged commit 85bde7e into libp2p:master Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants