mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-30 15:07:14 +00:00
feat(xray): add connIdle and bufferSize policy controls
Expose level-0 connection policies in the panel's Basics tab: idle timeout (connIdle) and per-connection buffer size (bufferSize). Empty fields delete the key so Xray falls back to its own defaults. Adds en-US/fa-IR strings and types policy.levels in the Zod schema.
This commit is contained in:
@@ -1201,6 +1201,14 @@
|
||||
"statsOutboundUplinkDesc": "Enables the statistics collection for upstream traffic of all outbound proxies.",
|
||||
"statsOutboundDownlink": "Outbound Download Statistics",
|
||||
"statsOutboundDownlinkDesc": "Enables the statistics collection for downstream traffic of all outbound proxies.",
|
||||
"connectionLimits": "Connection Limits",
|
||||
"connectionLimitsDesc": "Connection-level policies for user level 0. Leave a field empty to use Xray's default.",
|
||||
"connIdle": "Idle Timeout",
|
||||
"connIdleDesc": "Closes a connection after it stays idle for this many seconds. Lowering it frees memory and file descriptors faster on busy servers (Xray default: 300).",
|
||||
"bufferSize": "Buffer Size",
|
||||
"bufferSizeDesc": "Per-connection internal buffer size in KB. Set to 0 to minimize memory usage on low-RAM servers (Xray default depends on the platform).",
|
||||
"bufferSizePlaceholder": "auto",
|
||||
"seconds": "seconds",
|
||||
"rules": {
|
||||
"first": "First",
|
||||
"last": "Last",
|
||||
|
||||
Reference in New Issue
Block a user