From dc7e0ebbc930c4effb1cd8c151a866b93b1fc7bc Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 12 Jan 2016 16:19:29 +1100 Subject: [PATCH] Send client instance count per worker to ckdb --- src/stratifier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index d1071759..d2e0d33f 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -6248,11 +6248,12 @@ static void update_workerstats(ckpool_t *ckp, sdata_t *sdata) ghs5 = worker->dsps5 * nonces; ghs60 = worker->dsps60 * nonces; ghs1440 = worker->dsps1440 * nonces; - JSON_CPACK(val, "{ss,si,ss,ss,sf,sf,sf,sf,sb,ss,ss,ss,ss}", + JSON_CPACK(val, "{ss,si,ss,ss,si,sf,sf,sf,sf,sb,ss,ss,ss,ss}", "poolinstance", ckp->name, "elapsed", elapsed, "username", user->username, "workername", worker->workername, + "instances", worker->instance_count, "hashrate", ghs1, "hashrate5m", ghs5, "hashrate1hr", ghs60,