Decrease feature timeout to 1 sec
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 29 Oct 2017 15:02:35 +0000 (16:02 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 29 Oct 2017 19:46:21 +0000 (20:46 +0100)
The feature timeout used to be 10 sec, which seems ridiculously long
at present-day computer speeds. It is reduced to 1 sec, but actually
twice this will be used because of the "uci" probe that will follow the
"protover 2" probe, and will use the same timeout.

common.h

index 16942e5..6638b36 100644 (file)
--- a/common.h
+++ b/common.h
@@ -228,7 +228,7 @@ typedef char *String;
 #define LOWTIMEWARNING_COLOR    "#FF0000"
 #define BELLCHAR                '\007'
 #define NULLCHAR                '\000'
-#define FEATURE_TIMEOUT         10000 /*ms*/
+#define FEATURE_TIMEOUT         1000 /*ms*/
 #define MATE_SCORE              100000
 
 #define CLOCK_FONT 0