mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 21:30:17 +08:00
refactor(health-check): remove per-provider test config
This commit is contained in:
@@ -38,7 +38,7 @@ export async function streamCheckProvider(
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量流式健康检查
|
||||
* 批量连通性检查
|
||||
*/
|
||||
export async function streamCheckAllProviders(
|
||||
appType: AppId,
|
||||
@@ -48,14 +48,14 @@ export async function streamCheckAllProviders(
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取流式检查配置
|
||||
* 获取连通性检查配置
|
||||
*/
|
||||
export async function getStreamCheckConfig(): Promise<StreamCheckConfig> {
|
||||
return invoke("get_stream_check_config");
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存流式检查配置
|
||||
* 保存连通性检查配置
|
||||
*/
|
||||
export async function saveStreamCheckConfig(
|
||||
config: StreamCheckConfig,
|
||||
Reference in New Issue
Block a user