Add MinIdleSession option to AnyTLS outbound

Co-authored-by: anytls <anytls>
This commit is contained in:
anytls 2025-02-24 10:40:12 +08:00 committed by 世界
parent 9e9886b140
commit c9522fd6d6
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
6 changed files with 15 additions and 5 deletions

View file

@ -16,6 +16,7 @@ icon: material/new-box
"password": "8JCsPssfgS8tiRwiMlhARg==",
"idle_session_check_interval": "30s",
"idle_session_timeout": "30s",
"min_idle_session": 5,
"tls": {},
... // Dial Fields
@ -50,6 +51,10 @@ Interval checking for idle sessions. Default: 30s.
In the check, close sessions that have been idle for longer than this. Default: 30s.
#### min_idle_session
In the check, at least the first `n` idle sessions are kept open. Default value: `n`=0
#### tls
==Required==

View file

@ -16,6 +16,7 @@ icon: material/new-box
"password": "8JCsPssfgS8tiRwiMlhARg==",
"idle_session_check_interval": "30s",
"idle_session_timeout": "30s",
"min_idle_session": 5,
"tls": {},
... // 拨号字段
@ -50,6 +51,10 @@ AnyTLS 密码。
在检查中,关闭闲置时间超过此值的会话。默认值:30秒。
#### min_idle_session
在检查中,至少前 `n` 个空闲会话保持打开状态。默认值:`n`=0
#### tls
==必填==