1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Allow to stage more than necessary work items if we're just rolling work.

This commit is contained in:
Con Kolivas 2012-02-06 10:41:05 +11:00
parent b9612715aa
commit d42d0c8ebd

View File

@ -2944,12 +2944,7 @@ static struct work *hash_pop(const struct timespec *abstime)
static inline bool should_roll(struct work *work)
{
int rs;
rs = requests_staged();
if (rs >= mining_threads)
return false;
if (work->pool == current_pool() || pool_strategy == POOL_LOADBALANCE || !rs)
if (work->pool == current_pool() || pool_strategy == POOL_LOADBALANCE)
return true;
return false;
}