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:
parent
adb2ea672d
commit
7740ed839a
@ -1086,6 +1086,8 @@ static int64_t avalon_scanhash(struct thr_info *thr)
|
|||||||
avalon->results = miner_count;
|
avalon->results = miner_count;
|
||||||
if (!info->idle)
|
if (!info->idle)
|
||||||
avalon->results -= miner_count / 3;
|
avalon->results -= miner_count / 3;
|
||||||
|
else
|
||||||
|
avalon->results = miner_count;
|
||||||
info->nonces = 0;
|
info->nonces = 0;
|
||||||
mutex_unlock(&info->lock);
|
mutex_unlock(&info->lock);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user