Skip to content

Commit

Permalink
Better log message for the fastplay rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ujh committed Dec 30, 2015
1 parent 4201626 commit b0db041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl Timer {
let budget5 = self.current_budget / fastplay_budget;
let elapsed = self.elapsed();
if elapsed > budget5 && win_ratio > self.config.time_control.fastplay_threshold {
self.config.log(format!("Search stopped. 5% rule triggered"));
self.config.log(format!("Search stopped early. Fastplay rule triggered."));
true
} else {
elapsed > self.current_budget
Expand Down

0 comments on commit b0db041

Please sign in to comment.