changfubai commented on issue #8715:
URL: https://github.com/apache/dubbo/issues/8715#issuecomment-1019746354
> ```
> public FailbackClusterInvoker(Directory<T> directory) {
> super(directory);
>
> int retriesConfig = getUrl().getParameter(RETRIES_KEY,
DEFAULT_FAILBACK_TIMES);
> if (retriesConfig <= 0) {
> retriesConfig = DEFAULT_FAILBACK_TIMES;
> }
> int failbackTasksConfig =
getUrl().getParameter(FAIL_BACK_TASKS_KEY, DEFAULT_FAILBACK_TASKS);
> if (failbackTasksConfig <= 0) {
> failbackTasksConfig = DEFAULT_FAILBACK_TASKS;
> }
> retries = retriesConfig;
> failbackTasks = failbackTasksConfig;
> }
> ```
>
> set retries is zero ,finaly it's default? 改了,最后还是没改?
这是构造方法的逻辑呀,我改的是run方法里的逻辑,显然不会又设置为DEFAULT_FAILBACK_TIMES呀
--
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]