Skip to content

Commit

Permalink
Remove references to reify
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Jan 31, 2023
1 parent 2f95f28 commit 3b3613c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion p2p/host/resource-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ scalingLimits := rcmgr.DefaultLimits
// Add limits around included libp2p protocols
libp2p.SetDefaultServiceLimits(&scalingLimits)

// Turn the scaling limits into a reified set of limits using `.AutoScale`. This
// Turn the scaling limits into a concrete set of limits using `.AutoScale`. This
// scales the limits proportional to your system memory.
scaledDefaultLimits := scalingLimits.AutoScale()

Expand Down
2 changes: 1 addition & 1 deletion p2p/host/resource-manager/limit_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ func resourceLimitsMapFromBaseLimitMap[K comparable](baseLimitMap map[K]BaseLimi
return out
}

// ToLimitConfig converts a ReifiedLimitConfig to a PartialLimitConfig. The returned
// ToLimitConfig converts a ConcreteLimitConfig to a PartialLimitConfig. The returned
// PartialLimitConfig will have no default values.
func (cfg ConcreteLimitConfig) ToLimitConfig() PartialLimitConfig {
return PartialLimitConfig{
Expand Down
2 changes: 1 addition & 1 deletion p2p/test/resource-manager/rcmgr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func TestReadmeExample(t *testing.T) {
// Add limits around included libp2p protocols
libp2p.SetDefaultServiceLimits(&scalingLimits)

// Turn the scaling limits into a reified set of limits using `.AutoScale`. This
// Turn the scaling limits into a concrete set of limits using `.AutoScale`. This
// scales the limits proportional to your system memory.
scaledDefaultLimits := scalingLimits.AutoScale()

Expand Down

0 comments on commit 3b3613c

Please sign in to comment.