X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=888c0d78d91983978c7af29ba24f22e3089eda3c;hp=c4b61881afc7e10f2679ac2791fb8379cfc35545;hb=6e5cf2f3c5c5cae9a40775aca4052c0fe7089397;hpb=e5ebd4f5d11e93a74a815f9850b184d1f976705b diff --git a/src/search.cpp b/src/search.cpp index c4b61881..888c0d78 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -678,7 +678,7 @@ namespace { // Stop search if most of MaxSearchTime is consumed at the end of the // iteration. We probably don't have enough time to search the first // move at the next iteration anyway. - if (current_search_time() > ((MaxSearchTime + ExtraSearchTime)*90) / 128) + if (current_search_time() > ((MaxSearchTime + ExtraSearchTime)*80) / 128) stopSearch = true; if (stopSearch) @@ -2249,7 +2249,7 @@ namespace { bool overTime = t > AbsoluteMaxSearchTime || (RootMoveNumber == 1 && t > MaxSearchTime + ExtraSearchTime) || ( !FailHigh && !fail_high_ply_1() && !Problem - && t > 10*(MaxSearchTime + ExtraSearchTime)); + && t > 6*(MaxSearchTime + ExtraSearchTime)); if ( (Iteration >= 2 && (!InfiniteSearch && overTime)) || (ExactMaxTime && t >= ExactMaxTime)