summaryrefslogtreecommitdiff
path: root/constants/constants.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-03-19 20:33:24 -0400
committerWill Hawkins <[email protected]>2022-03-19 20:33:24 -0400
commit710fb3cb8bc32eb1250f333b8184ba044f627ad5 (patch)
tree789f2a2c99fafdcf5b314ce0e3869c853aeac938 /constants/constants.go
parenteecdfd2d82a0c52701e62ec6042c1bec387f05df (diff)
Rename: Change bearing to generating
The newest version of the specification replaces the term bearing with the term generating. This patch brings the updated language to the code to make it easier to track the implementation's conformance to the spec.
Diffstat (limited to 'constants/constants.go')
-rw-r--r--constants/constants.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/constants/constants.go b/constants/constants.go
index a94c777..1a060dd 100644
--- a/constants/constants.go
+++ b/constants/constants.go
@@ -4,14 +4,14 @@ import "time"
var (
// The initial number of connections on a LBC.
- StartingNumberOfLoadBearingConnections uint64 = 4
+ StartingNumberOfLoadGeneratingConnections uint64 = 4
// The number of intervals for which to account in a moving-average
// calculation.
MovingAverageIntervalCount int = 4
// The number of intervals across which to consider a moving average stable.
MovingAverageStabilitySpan int = 4
// The number of connections to add to a LBC when unsaturated.
- AdditiveNumberOfLoadBearingConnections uint64 = 4
+ AdditiveNumberOfLoadGeneratingConnections uint64 = 4
// The cutoff of the percent difference that defines instability.
InstabilityDelta float64 = 5