Browse Source

Allow mindiff to be set to zero to reset to defaults with ckdb commands

master
Con Kolivas 9 years ago
parent
commit
6f8ac8aa97
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -5775,7 +5775,7 @@ static void set_worker_mindiff(ckpool_t *ckp, const char *workername, int mindif
/* Then find the matching worker user */
worker = get_worker(sdata, user, workername);
if (mindiff < 1) {
if (mindiff < 0) {
LOGINFO("Worker %s requested invalid diff %d", worker->workername, mindiff);
return;
}

Loading…
Cancel
Save