mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-11 13:11:02 +00:00
Disable restarting of CPU mining threads pending further investigation. They may not need it and are easily killed off.
This commit is contained in:
parent
75e1d0166c
commit
70edd0d36f
4
main.c
4
main.c
@ -2011,7 +2011,11 @@ static void *watchdog_thread(void *userdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gettimeofday(&now, NULL);
|
gettimeofday(&now, NULL);
|
||||||
|
#if 0
|
||||||
for (i = 0; i < mining_threads; i++) {
|
for (i = 0; i < mining_threads; i++) {
|
||||||
|
#else
|
||||||
|
for (i = 0; i < gpu_threads; i++) {
|
||||||
|
#endif
|
||||||
struct thr_info *thr = &thr_info[i];
|
struct thr_info *thr = &thr_info[i];
|
||||||
|
|
||||||
/* Do not kill threads waiting on longpoll staged work
|
/* Do not kill threads waiting on longpoll staged work
|
||||||
|
Loading…
x
Reference in New Issue
Block a user