We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.9.0
clash订阅转换
[[custom_groups]] name = "♻️ 自动选择" type = "url-test" rule = [".*"] url = "http://www.gstatic.com/generate_204" interval = 180 timeout = 3 tolerance = 50
修改自定义toml文件,设置timeout为3s,生成clash订阅文件,结果如下:
name: ♻️ 自动选择 type: url-test url: http://www.gstatic.com/generate_204 interval: 180 tolerance: 50 proxies:
可以发现并没有生成timeout:3000的clash配置。我查阅代码后发现src/config/binding.h文件里读取timeout是通过conf.Timeout = toml::find_or(v, "timeout", 5); 比对正常实现的interval和tolerance,应该改成conf.Timeout = toml::find_or(v, "timeout", 5); 现在clashmeta的timeout的单位是ms,最终生成的配置应该是timeout:3000
可以自定义修改custom_groups的timeout值
不生效
无
The text was updated successfully, but these errors were encountered:
No branches or pull requests
确认版本最新
检索issue
subconverter版本
0.9.0
转换过程
clash订阅转换
转换设置
[[custom_groups]]
name = "♻️ 自动选择"
type = "url-test"
rule = [".*"]
url = "http://www.gstatic.com/generate_204"
interval = 180
timeout = 3
tolerance = 50
复现步骤
修改自定义toml文件,设置timeout为3s,生成clash订阅文件,结果如下:
name: ♻️ 自动选择
type: url-test
url: http://www.gstatic.com/generate_204
interval: 180
tolerance: 50
proxies:
可以发现并没有生成timeout:3000的clash配置。我查阅代码后发现src/config/binding.h文件里读取timeout是通过conf.Timeout = toml::find_or(v, "timeout", 5);
比对正常实现的interval和tolerance,应该改成conf.Timeout = toml::find_or(v, "timeout", 5);
现在clashmeta的timeout的单位是ms,最终生成的配置应该是timeout:3000
期望结果
可以自定义修改custom_groups的timeout值
实际结果
不生效
错误信息
The text was updated successfully, but these errors were encountered: