Commit 957d196180ba107f9f08666d51479d6e7da42585

Con Kolivas 2012-07-06T20:23:26

Make long timeout 10seconds on bitforce for when usleep or nanosleep just can't be accurate...

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-bitforce.c b/driver-bitforce.c
index 931e717..3cfd287 100644
--- a/driver-bitforce.c
+++ b/driver-bitforce.c
@@ -21,7 +21,7 @@
 #include "miner.h"
 
 #define BITFORCE_SLEEP_MS 500
-#define BITFORCE_TIMEOUT_MS 7000
+#define BITFORCE_TIMEOUT_MS 10000
 #define BITFORCE_LONG_TIMEOUT_MS 15000
 #define BITFORCE_CHECK_INTERVAL_MS 10
 #define WORK_CHECK_INTERVAL_MS 50