From 83d5536b877d7998a84db3c86013fe677e3e62cb Mon Sep 17 00:00:00 2001 From: zhaohaihang <1932859223@com> Date: Mon, 2 Sep 2024 02:43:50 -0400 Subject: [PATCH] nsqd: * When a client sends messages to multiple topics, the statistics information can only output the results of one topic for a single client. --- nsqd/client_v2.go | 1 - 1 file changed, 1 deletion(-) diff --git a/nsqd/client_v2.go b/nsqd/client_v2.go index 8a40ea8d5..6300db33e 100644 --- a/nsqd/client_v2.go +++ b/nsqd/client_v2.go @@ -302,7 +302,6 @@ func (c *clientV2) Stats(topicName string) ClientStats { Topic: topic, Count: count, }) - break } c.metaLock.RUnlock() stats := ClientV2Stats{