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: improved resource manager based on Rainbow #67

Merged
merged 2 commits into from
May 21, 2024
Merged

feat: improved resource manager based on Rainbow #67

merged 2 commits into from
May 21, 2024

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented May 15, 2024

Closes #64.

This improves the resource manager defaults based on what is done in Rainbow and Kubo. I also added flags so that users have the freedom to change the settings.

@lidel this seems to fix the issue for me.

Copy link
Member

@lidel lidel 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! lgtm, small cosmetic asks inline, once addressed feel free to ship and deploy to delegated-ipfs.dev

(I tried to stress-test this locally and no issues, but since we were running with more strict limits, once deployed, please eyeball if relaxing things here comes with any unexpected consequences in our infra.)

cc @aschmahmann for visibility (he added original defaults in https://github.com/ipfs/someguy/pull/7/files).

main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
docs/environment-variables.md Outdated Show resolved Hide resolved
docs/environment-variables.md Outdated Show resolved Hide resolved
rcmgr.go Outdated Show resolved Hide resolved
@hacdias hacdias merged commit 3b9cce4 into main May 21, 2024
7 checks passed
@hacdias hacdias deleted the rcmgr branch May 21, 2024 07:57
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.

Raise default resource manager limits
2 participants