2022-09-15 07:22:08 +00:00
|
|
|
### 结构
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"type": "urltest",
|
|
|
|
"tag": "auto",
|
|
|
|
|
|
|
|
"outbounds": [
|
|
|
|
"proxy-a",
|
|
|
|
"proxy-b",
|
|
|
|
"proxy-c"
|
|
|
|
],
|
2023-12-03 03:57:53 +00:00
|
|
|
"url": "",
|
|
|
|
"interval": "",
|
2023-09-14 16:07:07 +00:00
|
|
|
"tolerance": 50,
|
2023-12-03 03:57:53 +00:00
|
|
|
"idle_timeout": "",
|
2023-09-14 16:07:07 +00:00
|
|
|
"interrupt_exist_connections": false
|
2022-09-15 07:22:08 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### 字段
|
|
|
|
|
|
|
|
#### outbounds
|
|
|
|
|
|
|
|
==必填==
|
|
|
|
|
|
|
|
用于测试的出站标签列表。
|
|
|
|
|
|
|
|
#### url
|
|
|
|
|
2023-04-13 01:03:08 +00:00
|
|
|
用于测试的链接。默认使用 `https://www.gstatic.com/generate_204`。
|
2022-09-15 07:22:08 +00:00
|
|
|
|
|
|
|
#### interval
|
|
|
|
|
2023-12-03 03:57:53 +00:00
|
|
|
测试间隔。 默认使用 `3m`。
|
2022-09-15 07:22:08 +00:00
|
|
|
|
|
|
|
#### tolerance
|
|
|
|
|
|
|
|
以毫秒为单位的测试容差。 默认使用 `50`。
|
2023-09-14 16:07:07 +00:00
|
|
|
|
2023-12-03 03:57:53 +00:00
|
|
|
#### idle_timeout
|
|
|
|
|
|
|
|
空闲超时。默认使用 `30m`。
|
|
|
|
|
2023-09-14 16:07:07 +00:00
|
|
|
#### interrupt_exist_connections
|
|
|
|
|
|
|
|
当选定的出站发生更改时,中断现有连接。
|
|
|
|
|
|
|
|
仅入站连接受此设置影响,内部连接将始终被中断。
|