Browse Source

Disable restarting of CPU mining threads pending further investigation. They may not need it and are easily killed off.

Con Kolivas 14 years ago
parent
commit
70edd0d36f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      main.c

+ 4 - 0
main.c

@@ -2011,7 +2011,11 @@ static void *watchdog_thread(void *userdata)
 		}
 
 		gettimeofday(&now, NULL);
+#if 0
 		for (i = 0; i < mining_threads; i++) {
+#else
+		for (i = 0; i < gpu_threads; i++) {
+#endif
 			struct thr_info *thr = &thr_info[i];
 
 			/* Do not kill threads waiting on longpoll staged work