mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 13:04:29 +00:00
Decay result count in avalon more slowly to not falsely detect idle periods as low result return rates.
This commit is contained in:
parent
4b4a13549e
commit
3b2f9ccb88
@ -1222,7 +1222,7 @@ static int64_t avalon_scanhash(struct thr_info *thr)
|
|||||||
if (avalon->results > miner_count)
|
if (avalon->results > miner_count)
|
||||||
avalon->results = miner_count;
|
avalon->results = miner_count;
|
||||||
if (!info->reset)
|
if (!info->reset)
|
||||||
avalon->results -= miner_count / 3;
|
avalon->results--;
|
||||||
info->nonces = info->idle = 0;
|
info->nonces = info->idle = 0;
|
||||||
mutex_unlock(&info->lock);
|
mutex_unlock(&info->lock);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user