Skip to content

Commit 7df05ce

Browse files
authored
docs: update maximum connection pool capacity from 8192 to 1024 in documentation
1 parent e3333b9 commit 7df05ce

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/en/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ nodepass "server://0.0.0.0:10101/0.0.0.0:8080?tls=2&crt=/path/to/cert.pem&key=/p
5252
Connection pool capacity can be configured via URL query parameters:
5353

5454
- `min`: Minimum connection pool capacity (default: 64)
55-
- `max`: Maximum connection pool capacity (default: 8192)
55+
- `max`: Maximum connection pool capacity (default: 1024)
5656

5757
Example:
5858
```bash
@@ -70,8 +70,8 @@ NodePass allows flexible configuration via URL query parameters. The following t
7070
| `tls` | TLS encryption mode ||||
7171
| `crt` | Custom certificate path||||
7272
| `key` | Custom key path ||||
73-
| `min` | Minimum pool capacity ||| |
74-
| `max` | Maximum pool capacity | || |
73+
| `min` | Minimum pool capacity ||| |
74+
| `max` | Maximum pool capacity | || |
7575

7676
- ✔: Parameter is valid and recommended for configuration
7777
- ✖: Parameter is not applicable and should be ignored

docs/en/usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Where:
2020
Common query parameters:
2121
- `log=<level>`: Log verbosity level (`none`, `debug`, `info`, `warn`, `error`, or `event`)
2222
- `min=<min_pool>`: Minimum connection pool capacity (default: 64, client mode only)
23-
- `max=<max_pool>`: Maximum connection pool capacity (default: 8192, client mode only)
23+
- `max=<max_pool>`: Maximum connection pool capacity (default: 1024, client mode only)
2424

2525
TLS-related parameters (server/master modes only):
2626
- `tls=<mode>`: TLS security level for data channels (`0`, `1`, or `2`)
@@ -93,7 +93,7 @@ nodepass "client://<tunnel_addr>/<target_addr>?log=<level>&min=<min_pool>&max=<m
9393
- `target_addr`: The destination address for business data with bidirectional flow support (e.g., 127.0.0.1:8080)
9494
- `log`: Log level (debug, info, warn, error, event)
9595
- `min`: Minimum connection pool capacity (default: 64)
96-
- `max`: Maximum connection pool capacity (default: 8192)
96+
- `max`: Maximum connection pool capacity (default: 1024)
9797

9898
#### How Client Mode Works
9999

docs/zh/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ nodepass "server://0.0.0.0:10101/0.0.0.0:8080?tls=2&crt=/path/to/cert.pem&key=/p
5252
连接池容量可以通过URL查询参数进行配置:
5353

5454
- `min`: 最小连接池容量(默认: 64)
55-
- `max`: 最大连接池容量(默认: 8192
55+
- `max`: 最大连接池容量(默认: 1024
5656

5757
示例:
5858
```bash

docs/zh/usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ nodepass "<core>://<tunnel_addr>/<target_addr>?log=<level>&tls=<mode>&crt=<cert_
2020
通用查询参数:
2121
- `log=<level>`:日志详细级别(`none``debug``info``warn``error``event`
2222
- `min=<min_pool>`:最小连接池容量(默认:64,仅适用于client模式)
23-
- `max=<max_pool>`:最大连接池容量(默认:8192,仅适用于client模式)
23+
- `max=<max_pool>`:最大连接池容量(默认:1024,仅适用于client模式)
2424

2525
TLS相关参数(仅适用于server/master模式):
2626
- `tls=<mode>`:数据通道的TLS安全级别(`0``1``2`
@@ -93,7 +93,7 @@ nodepass "client://<tunnel_addr>/<target_addr>?log=<level>&min=<min_pool>&max=<m
9393
- `target_addr`:业务数据的目标地址,支持双向数据流模式(例如, 127.0.0.1:8080)
9494
- `log`:日志级别(debug, info, warn, error, event)
9595
- `min`:最小连接池容量(默认:64)
96-
- `max`:最大连接池容量(默认:8192
96+
- `max`:最大连接池容量(默认:1024
9797

9898
#### 客户端模式工作原理
9999

0 commit comments

Comments
 (0)