client: Increase binary search iter limit
This commit is contained in:
parent
2ca430eaa7
commit
38d408126e
|
@ -476,7 +476,7 @@ fn binary_search(
|
|||
min_step: I80F48,
|
||||
fun: impl Fn(I80F48) -> Result<I80F48>,
|
||||
) -> Result<I80F48> {
|
||||
let max_iterations = 20;
|
||||
let max_iterations = 50;
|
||||
let target_error = I80F48!(0.1);
|
||||
let right_value = fun(right)?;
|
||||
require_msg!(
|
||||
|
|
|
@ -649,7 +649,7 @@ export class HealthCache {
|
|||
minStep: I80F48,
|
||||
fun: (I80F48) => I80F48,
|
||||
): I80F48 {
|
||||
const maxIterations = 40;
|
||||
const maxIterations = 50;
|
||||
const targetError = I80F48.fromNumber(0.1);
|
||||
const rightValue = fun(right);
|
||||
|
||||
|
|
Loading…
Reference in New Issue