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

Update resource manager readme #1684

Merged
merged 1 commit into from Aug 18, 2022
Merged

Update resource manager readme #1684

merged 1 commit into from Aug 18, 2022

Conversation

MarcoPolo
Copy link
Contributor

@MarcoPolo
Copy link
Contributor Author

tagged @BigLep for another approval here. Not expected, but if given I can go ahead and merge this :)

// If memory is smaller than 128 MB, the base configuration will be used.
func (cfg *ScalingLimitConfig) Scale(memory int64, numFD int) LimitConfig {
var scaleFactor int
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we move the logic change to a separate PR? Otherwise this will be very confusing if we ever have to go back in the commit history.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done #1685

Copy link
Contributor

@BigLep BigLep left a comment

Choose a reason for hiding this comment

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

Providing approval given libp2p/go-libp2p-resource-manager#78 , but understood there is a request to break out some of the commits.

@MarcoPolo MarcoPolo merged commit 2f0d750 into master Aug 18, 2022
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.

None yet

3 participants