Skip to content

Commit 2743646

Browse files
committed
docs(router): new pool_idle_timeout
1 parent 4d302c9 commit 2743646

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/web/docs/src/content/router/configuration/traffic_shaping.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Limits the maximum number of concurrent HTTP connections the router will open to
3030
host. This acts as a safeguard to prevent overwhelming a subgraph with too many simultaneous
3131
requests.
3232

33-
### `pool_idle_timeout_seconds`
33+
### `pool_idle_timeout`
3434

35-
- **Type:** `integer`
36-
- **Default:** `50`
35+
- **Type:** `string`
36+
- **Default:** `50s`
3737

3838
Controls the timeout (in seconds) for idle keep-alive connections in the router's connection pool.
3939
Connections that are unused for this duration will be closed.
@@ -47,5 +47,5 @@ longer idle timeout.
4747
traffic_shaping:
4848
dedupe_enabled: true
4949
max_connections_per_host: 250
50-
pool_idle_timeout_seconds: 90
50+
pool_idle_timeout: 90s
5151
```

packages/web/docs/src/content/router/guides/performance-tuning.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ Start with the default and adjust based on your observations:
5454

5555
## Managing Idle Connections
5656

57-
The `pool_idle_timeout_seconds` setting controls how long unused connections stay open in the
58-
router's connection pool before being closed.
57+
The `pool_idle_timeout` setting controls how long unused connections stay open in the router's
58+
connection pool before being closed.
5959

60-
- **Default Value:** `50` seconds
60+
- **Default Value:** `50s`
6161

6262
### The Connection Reuse Trade-off
6363

0 commit comments

Comments
 (0)