mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
update the urltest documents - randomize attribute
This commit is contained in:
parent
646703e61e
commit
91e20525fa
@ -14,7 +14,8 @@
|
|||||||
"interval": "",
|
"interval": "",
|
||||||
"tolerance": 0,
|
"tolerance": 0,
|
||||||
"idle_timeout": "",
|
"idle_timeout": "",
|
||||||
"interrupt_exist_connections": false
|
"interrupt_exist_connections": false,
|
||||||
|
"randomize": false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -47,3 +48,9 @@ The idle timeout. `30m` will be used if empty.
|
|||||||
Interrupt existing connections when the selected outbound has changed.
|
Interrupt existing connections when the selected outbound has changed.
|
||||||
|
|
||||||
Only inbound connections are affected by this setting, internal connections will always be interrupted.
|
Only inbound connections are affected by this setting, internal connections will always be interrupted.
|
||||||
|
|
||||||
|
#### randomize
|
||||||
|
|
||||||
|
Outbound would be selected randomly within the best latency in the tolerance range. It's deactivated by default.
|
||||||
|
|
||||||
|
The interrupt_exist_connections will be ignored if the randomize is activated.
|
@ -14,7 +14,8 @@
|
|||||||
"interval": "",
|
"interval": "",
|
||||||
"tolerance": 50,
|
"tolerance": 50,
|
||||||
"idle_timeout": "",
|
"idle_timeout": "",
|
||||||
"interrupt_exist_connections": false
|
"interrupt_exist_connections": false,
|
||||||
|
"randomize": false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -47,3 +48,10 @@
|
|||||||
当选定的出站发生更改时,中断现有连接。
|
当选定的出站发生更改时,中断现有连接。
|
||||||
|
|
||||||
仅入站连接受此设置影响,内部连接将始终被中断。
|
仅入站连接受此设置影响,内部连接将始终被中断。
|
||||||
|
|
||||||
|
|
||||||
|
#### randomize
|
||||||
|
|
||||||
|
出站将在容忍范围内的最佳延迟内随机选择。 默认情况下它处于禁用状态。
|
||||||
|
|
||||||
|
如果激活了随机化,则interrupt_exist_connections将被忽略。
|
Loading…
x
Reference in New Issue
Block a user