mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 05:41:55 +00:00
Remove nDev limit in watchdog_thread
Can't work out why it was even there... so there could still be a reason for it!
This commit is contained in:
parent
fa3f357fc1
commit
6ed75c96cb
@ -4352,9 +4352,6 @@ static void *watchdog_thread(void __maybe_unused *userdata)
|
||||
if (cgpu->api->get_stats)
|
||||
cgpu->api->get_stats(cgpu);
|
||||
|
||||
/* Use only one thread per device to determine if the GPU is healthy */
|
||||
if (i >= nDevs)
|
||||
break;
|
||||
gpu = thr->cgpu->device_id;
|
||||
denable = &cgpu->deven;
|
||||
sprintf(dev_str, "%s%d", cgpu->api->name, gpu);
|
||||
|
Loading…
x
Reference in New Issue
Block a user