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

rcmgr: provide an easy API for getting the limits that are being enforced #2166

Open
BigLep opened this issue Mar 2, 2023 · 0 comments
Open

Comments

@BigLep
Copy link
Contributor

BigLep commented Mar 2, 2023

Situation/usecase

Kubo has commands to output for a user what the current resource manager/accountant limits are. According to @Jorropo, there isn't a clean/simple API for getting this back as a ConcreteLimitConfig. As a result, in Kubo, we are actually rebuilding at runtime the limit config we passed to go-libp2p (see discussion here: ipfs/kubo#9680 (comment) ). It would be ideal to have ground truth from go-libp2p on what it is actually using vs. what Kubo thinks it's using.

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

No branches or pull requests

1 participant