update the urltest documents - randomize attribute

This commit is contained in:
ashly-right 2024-03-10 05:13:14 +01:00
parent 646703e61e
commit 91e20525fa
No known key found for this signature in database
GPG Key ID: 2C70FC9CFBECF3DE
2 changed files with 18 additions and 3 deletions

View File

@ -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.

View File

@ -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将被忽略。