Skip to content

Commit

Permalink
WIP: ki_pos
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Nov 30, 2023
1 parent 5b09eee commit 937a932
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 @@ -127,7 +127,7 @@ impl Controller {
*self.error_history.current_mut() += error;

let i: f64 = self.error_history.frames().iter().sum();
let k_i = -0.001;
let k_i = 0.001;
let cv = i * k_i;
UDecimal18::try_from(target + cv).unwrap_or(self.target_query_fees.0)
}
Expand Down

0 comments on commit 937a932

Please sign in to comment.