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