Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载源优先级 #24

Open
DSLZL opened this issue Aug 27, 2024 · 5 comments
Open

下载源优先级 #24

DSLZL opened this issue Aug 27, 2024 · 5 comments

Comments

@DSLZL
Copy link

DSLZL commented Aug 27, 2024

给客户端配置的下载源设置一个优先级,我按照由上到下的顺序是无用的,经常会使用到下面那个速度慢的备份源

@asforest
Copy link
Member

还烦请提供一份出问题时的客户端程序运行日志

@DSLZL
Copy link
Author

DSLZL commented Aug 27, 2024

还烦请提供一份出问题时的客户端程序运行日志

没日志,他就是会选速度慢的备份源
而不是速度快的主源

@asforest
Copy link
Member

不是靠速度,代码里没有测速的逻辑。实际的逻辑是,从上往下依次使用多个地址。当一个地址重试次数被耗尽后,切换到下个地址。如果所有地址全部用完,则报错。

@DSLZL
Copy link
Author

DSLZL commented Aug 27, 2024

不是靠速度,代码里没有测速的逻辑。实际的逻辑是,从上往下依次使用多个地址。当一个地址重试次数被耗尽后,切换到下个地址。如果所有地址全部用完,则报错。

但是我移除备用源,只剩主源,他能用,但是加上备用就一直用备用……

@asforest
Copy link
Member

所以需要你提供一份日志文件,才能分析具体的原因。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants