1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Give a buffer of perceived results in avalon during idle periods to allow for results once it becomes active again.

This commit is contained in:
Con Kolivas 2013-05-28 21:15:33 +10:00
parent adb2ea672d
commit 7740ed839a

View File

@ -1086,6 +1086,8 @@ static int64_t avalon_scanhash(struct thr_info *thr)
avalon->results = miner_count;
if (!info->idle)
avalon->results -= miner_count / 3;
else
avalon->results = miner_count;
info->nonces = 0;
mutex_unlock(&info->lock);