mirror of
https://github.com/telemt/telemt.git
synced 2026-06-25 20:31:11 +03:00
Fairshare Disabled semantics fix
This commit is contained in:
@@ -138,6 +138,9 @@ impl WorkerFairnessState {
|
||||
}
|
||||
|
||||
pub(crate) fn set_backpressure_enabled(&mut self, enabled: bool) {
|
||||
if self.config.backpressure_enabled == enabled {
|
||||
return;
|
||||
}
|
||||
self.config.backpressure_enabled = enabled;
|
||||
self.config.pressure.backpressure_enabled = enabled;
|
||||
self.evaluate_pressure(Instant::now(), true);
|
||||
|
||||
Reference in New Issue
Block a user