Skip to content

Commit

Permalink
Increase move overhead to 20ms
Browse files Browse the repository at this point in the history
to hopefully prevent time losses on some workers.

Bench: 2149456
  • Loading branch information
XInTheDark committed Jul 11, 2024
1 parent 7c8bbd5 commit 78e2c64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/uci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,12 @@ fn go(
max_time = Some(max_time.unwrap_or(u128::MAX).min(max));
}

// 10ms move overhead
// 20ms move overhead
if let Some(t) = opt_time.as_mut() {
*t = t.saturating_sub(10);
*t = t.saturating_sub(20);
}
if let Some(t) = max_time.as_mut() {
*t = t.saturating_sub(10);
*t = t.saturating_sub(20);
}

let abort = AtomicBool::new(false);
Expand Down

0 comments on commit 78e2c64

Please sign in to comment.