Browse Source

Allow 1/3 extra buffer of staged work when ageing it.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
7b57df1171
  1. 2
      cgminer.c

2
cgminer.c

@ -4324,7 +4324,7 @@ static void age_work(void) @@ -4324,7 +4324,7 @@ static void age_work(void)
{
int discarded = 0;
while (requests_staged() > mining_threads) {
while (requests_staged() > mining_threads * 4 / 3) {
struct work *work = hash_pop(NULL);
if (unlikely(!work))

Loading…
Cancel
Save