Skip to content

Commit

Permalink
update the urltest documents - randomize attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ashly-right committed Mar 21, 2024
1 parent 3dc44cf commit 03213d3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
9 changes: 8 additions & 1 deletion docs/configuration/outbound/urltest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"interval": "",
"tolerance": 0,
"idle_timeout": "",
"interrupt_exist_connections": false
"interrupt_exist_connections": false,
"randomize": false
}
```

Expand Down Expand Up @@ -47,3 +48,9 @@ The idle timeout. `30m` will be used if empty.
Interrupt existing connections when the selected outbound has changed.

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.
12 changes: 10 additions & 2 deletions docs/configuration/outbound/urltest.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"interval": "",
"tolerance": 50,
"idle_timeout": "",
"interrupt_exist_connections": false
"interrupt_exist_connections": false,
"randomize": false
}
```

Expand Down Expand Up @@ -46,4 +47,11 @@

当选定的出站发生更改时,中断现有连接。

仅入站连接受此设置影响,内部连接将始终被中断。
仅入站连接受此设置影响,内部连接将始终被中断。


#### randomize

出站将在容忍范围内的最佳延迟内随机选择。 默认情况下它处于禁用状态。

如果激活了随机化,则interrupt_exist_connections将被忽略。

0 comments on commit 03213d3

Please sign in to comment.