xxs588 commented on code in PR #3269:
URL: https://github.com/apache/dubbo-go/pull/3269#discussion_r2974534096
##########
metrics/common.go:
##########
@@ -43,19 +47,25 @@ type ApplicationMetricLevel struct {
HostName string
}
-var applicationName string
-var applicationVersion string
+var (
+ appInfoLock sync.RWMutex
+ applicationName string
+ applicationVersion string
+)
Review Comment:
<img width="753" height="363" alt="图片"
src="https://github.com/user-attachments/assets/9bf07aea-5c50-4795-bce5-3cce5471606a"
/>
完善了注释
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]