mihomo icon indicating copy to clipboard operation
mihomo copied to clipboard

[Feature] 多次连接错误后应该先标记节点不可用再进行健康检查

Open ayasechan opened this issue 1 year ago • 0 comments

8### Verify steps

  • [X] 我已经在 Issue Tracker 中找过我要提出的请求 I have searched on the issue tracker for a related feature request.
  • [X] 我已经仔细看过 Documentation 并无法找到这个功能 I have read the documentation and was unable to solve the issue.

Description

目前的实现会在连接错误达到 max-failed-times 后直接进行健康检查 而没有将问题节点标记为不可用 如果问题节点一开始的延迟很低 会导致在健康检查结束之前新的连接依旧会被分配到问题节点 尤其是在节点比较多的时候 这个问题尤为明显 因为节点多全部健康检查花的时间也长 故障后要等很久才能恢复网络

https://github.com/MetaCubeX/mihomo/blob/802267fb5b0a17bf7915b78abbb80afa407d8815/adapter/outboundgroup/groupbase.go#L263-L264

Possible Solution

No response

ayasechan avatar Sep 01 '24 08:09 ayasechan