mirror of
https://github.com/telemt/telemt.git
synced 2026-07-09 21:40:17 +03:00
Fix in Fairness tests
This commit is contained in:
@@ -149,7 +149,9 @@ impl PressureEvaluator {
|
||||
let mut pressured = false;
|
||||
let mut saturated = false;
|
||||
|
||||
let queue_saturated_pct = cfg.queue_ratio_shedding_pct.min(cfg.queue_ratio_saturated_pct);
|
||||
let queue_saturated_pct = cfg
|
||||
.queue_ratio_shedding_pct
|
||||
.min(cfg.queue_ratio_saturated_pct);
|
||||
if queue_ratio_pct >= cfg.queue_ratio_pressured_pct {
|
||||
pressured = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user