From c3c288ed06e284fc0b970179ab2ba165ccaadc57 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 25 Dec 2016 11:43:40 +1100 Subject: [PATCH] Rename pool instance in workerstats to match primary pool (for now?) --- src/stratifier.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stratifier.c b/src/stratifier.c index 9f891ccf..eb4807bb 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -6658,6 +6658,9 @@ static void parse_remote_workerstats(ckpool_t *ckp, json_t *val, const int64_t r /* Encode remote server client_id into remote client's id */ client_id = (remote_id << 32) | (client_id & 0xffffffffll); json_set_int64(val, "clientid", client_id); + + /* Rename the pool instance to match main pool (for now?) */ + json_set_string(val, "poolinstance", ckp->name); ckdbq_add(ckp, ID_WORKERSTATS, val); }