marsevilspirit commented on code in PR #2868:
URL: https://github.com/apache/dubbo-go/pull/2868#discussion_r2084639691
##########
server/options.go:
##########
@@ -150,6 +155,12 @@ func WithServerLoadBalance(lb string) ServerOption {
}
}
+func WithServerWeight(weight int64) ServerOption {
Review Comment:
不要引入多余的API,这样并不优雅,我们已经有了:
```go
registry.WithWeight(weight)
```
通过这个控制
引入多余的api会导致配置十分混乱
--
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]