luky116 edited a comment on pull request #258:
URL: https://github.com/apache/dubbo-go-samples/pull/258#issuecomment-939508715


   > 另外,我运行这个例子,发现并没有真的拒绝2/3的流量,应该框架还有默认的重试逻辑,使得成功率提高了。 因此,在这个samples 
设计时,应该尝试与此功能无关的,影响当前功能的策略。这部分需要debug 框架代码看下。
   
   找到了,在 failover_cluster_invoke.go文件的63行获取的重试次数,在配置加一个retries为0就行了


-- 
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]

Reply via email to