Browse Source

Reset worker mindiff to startdiff when it is set to zero

master
Con Kolivas 9 years ago
parent
commit
06a29983f5
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -5765,6 +5765,8 @@ static void set_worker_mindiff(ckpool_t *ckp, const char *workername, int mindif
LOGINFO("Worker %s requested invalid diff %d", worker->workername, mindiff);
return;
}
if (!mindiff)
mindiff = ckp->startdiff;
if (mindiff < ckp->mindiff)
mindiff = ckp->mindiff;
if (mindiff == worker->mindiff)

Loading…
Cancel
Save