Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Nov 30, 2023
1 parent 0975a7e commit fdeddbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph-gateway/src/budgets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl Controller {
*self.error_history.current_mut() += error;

let i: f64 = self.error_history.frames().iter().sum();
let k_i = 0.01;
let k_i = 0.001;
let control_variable = (i * k_i) * target;
USD(UDecimal18::try_from(target + control_variable).unwrap_or_default())
}
Expand Down

0 comments on commit fdeddbc

Please sign in to comment.