Browse Source

We may as well read the poolstats when not in standalone mode as well on restart since we may expose them

master
Con Kolivas 10 years ago
parent
commit
15787d8932
  1. 4
      src/stratifier.c

4
src/stratifier.c

@ -4362,8 +4362,8 @@ int stratifier(proc_instance_t *pi)
if (!CKP_STANDALONE(ckp)) {
sdata->ckdbq = create_ckmsgq(ckp, "ckdbqueue", &ckdbq_process);
create_pthread(&pth_heartbeat, ckdb_heartbeat, ckp);
} else
read_poolstats(ckp);
}
read_poolstats(ckp);
cklock_init(&sdata->workbase_lock);
if (!ckp->proxy)

Loading…
Cancel
Save