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

能否增加重试机制 #382

Open
utopeadia opened this issue Dec 4, 2024 · 3 comments
Open

能否增加重试机制 #382

utopeadia opened this issue Dec 4, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@utopeadia
Copy link

如果在使用代理上传到gist或者拉取订阅失败的时候能否增加不使用代理重试机制,类似openclash拉取订阅的方法(默认使用代理拉取,失败后不使用代理再次尝试拉取)

@utopeadia
Copy link
Author

代理环境不是很稳定,经常出现上传到gist失败的情况,但是github和有些机场的订阅在我的网络环境下经常不可达如果不使用代理拉取很容易拉取失败

@xream
Copy link
Member

xream commented Dec 4, 2024

我的想法: 和 代理/策略 差不多, 再加一个配置项叫 回退时使用的代理/策略
若配置了此项, 即可在失败时用这个代理/策略再次请求
image

@utopeadia
Copy link
Author

utopeadia commented Dec 4, 2024

我的想法: 和 代理/策略 差不多, 再加一个配置项叫 回退时使用的代理/策略 若配置了此项, 即可在失败时用这个代理/策略再次请求 image

感觉这是个好主意,能很好的提升跟网络有关的拉取、上传的鲁棒性

@xream xream added the enhancement New feature or request label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants