Browse Source

Decay result count in avalon more slowly to not falsely detect idle periods as low result return rates.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
3b2f9ccb88
  1. 2
      driver-avalon.c

2
driver-avalon.c

@ -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…
Cancel
Save