Browse Source

Only send node workinfo in pool mode

master
Con Kolivas 9 years ago
parent
commit
df346876d8
  1. 1
      src/stratifier.c

1
src/stratifier.c

@ -958,6 +958,7 @@ static void send_workinfo(ckpool_t *ckp, sdata_t *sdata, const workbase_t *wb)
"createcode", __func__, "createcode", __func__,
"createinet", ckp->serverurl[0]); "createinet", ckp->serverurl[0]);
ckdbq_add(ckp, ID_WORKINFO, val); ckdbq_add(ckp, ID_WORKINFO, val);
if (!ckp->proxy)
send_node_workinfo(sdata, wb); send_node_workinfo(sdata, wb);
} }

Loading…
Cancel
Save