Browse Source

Check for current workbase as well.

master
Con Kolivas 8 years ago
parent
commit
ad63088be8
  1. 3
      src/stratifier.c

3
src/stratifier.c

@ -1415,7 +1415,8 @@ static void block_update(ckpool_t *ckp, int *prio)
/* Skip update if we're getting stacked low priority updates too close /* Skip update if we're getting stacked low priority updates too close
* together. */ * together. */
if (*prio < GEN_PRIORITY && time(NULL) < sdata->update_time + (ckp->update_interval / 2)) { if (*prio < GEN_PRIORITY && time(NULL) < sdata->update_time + (ckp->update_interval / 2) &&
sdata->current_workbase) {
ret = true; ret = true;
goto out; goto out;
} }

Loading…
Cancel
Save