File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/web/docs/src/content/router Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ requests.
3535- ** Type:** ` string `
3636- ** Default:** ` 50s `
3737
38- Controls the timeout (in seconds) for idle keep-alive connections in the router's connection pool.
39- Connections that are unused for this duration will be closed.
38+ Controls the timeout in duration string format (e.g. ` 1m ` for 1 minute, ` 30s ` for 30 seconds) for
39+ idle keep-alive connections in the router's connection pool. Connections that are unused for this
40+ duration will be closed.
4041
4142## Example
4243
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ connection pool before being closed.
5959
6060- ** Default Value:** ` 50s `
6161
62+ It takes a duration string (like ` 30s ` for 30 seconds, or ` 1m ` for 1 minute). This setting affects
63+ how aggressively the router reuses existing connections versus closing them to free up resources.
64+
6265### The Connection Reuse Trade-off
6366
6467** Too short = latency overhead:**
You can’t perform that action at this time.
0 commit comments