From 15787d89325bef0289d8b9babf8b99c0c3d8e101 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 3 Feb 2015 16:24:41 +1100 Subject: [PATCH] We may as well read the poolstats when not in standalone mode as well on restart since we may expose them --- src/stratifier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index 397be2b8..e8ad9dee 100644 --- a/src/stratifier.c +++ b/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)