File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ impl Engine {
6868 let mut reader = BufReader :: new ( child. stdout . as_mut ( ) . unwrap ( ) ) ;
6969 let mut buf_str = String :: new ( ) ;
7070 loop {
71- let uciok_timeout = timeout ( Duration :: from_millis ( 5000 ) ,
71+ let uciok_timeout = timeout ( Duration :: from_millis ( 7000 ) ,
7272 reader. read_line ( & mut buf_str)
7373 ) . await ;
7474 if let Err ( _) = uciok_timeout {
@@ -85,7 +85,7 @@ impl Engine {
8585 child. stdin . as_mut ( ) . unwrap ( ) . write_all ( b"isready\n " ) . await . expect ( "Error communicating with engine" ) ;
8686 buf_str = String :: new ( ) ;
8787 loop {
88- let readyok_timeout = timeout ( Duration :: from_millis ( 5000 ) ,
88+ let readyok_timeout = timeout ( Duration :: from_millis ( 7000 ) ,
8989 reader. read_line ( & mut buf_str)
9090 ) . await ;
9191 if let Err ( _) = readyok_timeout {
You can’t perform that action at this time.
0 commit comments