eye-gu commented on code in PR #5816:
URL: https://github.com/apache/shenyu/pull/5816#discussion_r1860265865
##########
shenyu-client/shenyu-client-dubbo/shenyu-client-apache-dubbo/src/main/java/org/apache/shenyu/client/apache/dubbo/annotation/ShenyuDubboService.java:
##########
@@ -290,15 +287,15 @@
* @return the int
*/
@AliasFor(annotation = DubboService.class)
- int retries() default DEFAULT_RETRIES;
+ int retries() default -1;
/**
* Alias for {@link DubboService#loadbalance()} .
*
* @return the string
*/
@AliasFor(annotation = DubboService.class)
- String loadbalance() default LoadbalanceRules.RANDOM;
+ String loadbalance() default LoadbalanceRules.EMPTY;
Review Comment:
This is the default value for DubboService annotation. Empty and random are
different. If the configuration file specifies load balancing is RoundRobin,
then the final result for Empty is RoundRobin.
--
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]