]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Check the clock every 1024 nodes
[stockfish] / src / search.cpp
index 0f599fc29f88d9d37e38bea7d0301f62079d5cc0..1be87a8107363f376a8da4404cf4761339d995af 100644 (file)
@@ -1497,7 +1497,7 @@ void MainThread::check_time() {
       return;
 
   // When using nodes, ensure checking rate is not lower than 0.1% of nodes
-  callsCnt = Limits.nodes ? std::min(4096, int(Limits.nodes / 1024)) : 4096;
+  callsCnt = Limits.nodes ? std::min(1024, int(Limits.nodes / 1024)) : 1024;
 
   static TimePoint lastInfoTime = now();