Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

rcmgr: fix missing service peer default in LimitConfig.Apply #1878

Merged

Conversation

neelvirdy
Copy link
Contributor

ServicePeerDefault wasn't being applied in the Apply method, which led to these limits being 0 instead of mirroring the limits from the Apply call in some usage patterns.

@neelvirdy
Copy link
Contributor Author

tagging @marten-seemann for review since i can't add reviewers via GH, thanks!

@marten-seemann marten-seemann self-requested a review November 14, 2022 23:41
@marten-seemann marten-seemann changed the title Apply service peer default rcmgr: fix missing service peer default in LimitConfig.Apply Nov 15, 2022
Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

Thank you!

@marten-seemann marten-seemann mentioned this pull request Nov 15, 2022
34 tasks
@marten-seemann marten-seemann merged commit d8d2efa into libp2p:master Nov 15, 2022
@neelvirdy neelvirdy deleted the nvirdy/apply-service-peer-default branch December 8, 2022 20:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants