1
0
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:
Con Kolivas 2013-07-03 21:48:06 +10:00
parent 4b4a13549e
commit 3b2f9ccb88

View File

@ -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);