Skip to content

Commit 98d1fd0

Browse files
author
nsakharenko
committed
chore(): update documentation;
1 parent 7326c9f commit 98d1fd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

loadshed/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ LoadCriteria is an interface in the LoadShed middleware that defines the criteri
143143
- **Thresholds**: Utilizes `LowerThreshold` and `UpperThreshold` values to decide when to start shedding requests.
144144
- **Proportional Rejection Probability**:
145145
- **Below `LowerThreshold`**: No requests are rejected, as the system is considered under acceptable load.
146-
- **Between `LowerThreshold` and `UpperThreshold`**: The probability of rejecting a request increases as the CPU
147-
usage approaches the `UpperThreshold`. This is calculated using the formula:
146+
- **Between `LowerThreshold` and `UpperThreshold`**: The probability of rejecting a request increases as the CPU usage approaches the `UpperThreshold`. This is calculated using the formula:
148147
```plaintext
149148
rejectionProbability := (cpuUsage - LowerThreshold*100) / (UpperThreshold - LowerThreshold)
150149
```

0 commit comments

Comments
 (0)