gaoxinge commented on a change in pull request #1045:
URL: https://github.com/apache/dubbo-go/pull/1045#discussion_r571335661
##########
File path: protocol/dubbo/dubbo_invoker.go
##########
@@ -62,7 +62,8 @@ type DubboInvoker struct {
// timeout for service(interface) level.
timeout time.Duration
// Used to record the number of requests. -1 represent this
DubboInvoker is destroyed
- reqNum int64
+ reqNum uatomic.Int64
+ closed uatomic.Bool
Review comment:
`go fmt`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]