|
15 | 15 | |[**override\_subgraph\_urls**](#override_subgraph_urls)|`object`|Configuration for overriding subgraph URLs.<br/>Default: `{}`<br/>|| |
16 | 16 | |[**query\_planner**](#query_planner)|`object`|Query planning configuration.<br/>Default: `{"allow_expose":false,"timeout":"10s"}`<br/>|| |
17 | 17 | |[**supergraph**](#supergraph)|`object`|Configuration for the Federation supergraph source. By default, the router will use a local file-based supergraph source (`./supergraph.graphql`).<br/>|| |
18 | | -|[**traffic\_shaping**](#traffic_shaping)|`object`|Configuration for the traffic-shaping of the executor. Use these configurations to control how requests are being executed to subgraphs.<br/>Default: `{"dedupe_enabled":true,"max_connections_per_host":100,"pool_idle_timeout_seconds":50}`<br/>|| |
| 18 | +|[**traffic\_shaping**](#traffic_shaping)|`object`|Configuration for the traffic-shaping of the executor. Use these configurations to control how requests are being executed to subgraphs.<br/>Default: `{"dedupe_enabled":true,"max_connections_per_host":100,"pool_idle_timeout":"50s"}`<br/>|| |
19 | 19 |
|
20 | 20 | **Additional Properties:** not allowed |
21 | 21 | **Example** |
@@ -109,7 +109,7 @@ supergraph: {} |
109 | 109 | traffic_shaping: |
110 | 110 | dedupe_enabled: true |
111 | 111 | max_connections_per_host: 100 |
112 | | - pool_idle_timeout_seconds: 50 |
| 112 | + pool_idle_timeout: 50s |
113 | 113 |
|
114 | 114 | ``` |
115 | 115 |
|
@@ -1817,15 +1817,15 @@ Configuration for the traffic-shaping of the executor. Use these configurations |
1817 | 1817 | |----|----|-----------|--------| |
1818 | 1818 | |**dedupe\_enabled**|`boolean`|Enables/disables request deduplication to subgraphs.<br/><br/>When requests exactly matches the hashing mechanism (e.g., subgraph name, URL, headers, query, variables), and are executed at the same time, they will<br/>be deduplicated by sharing the response of other in-flight requests.<br/>Default: `true`<br/>|| |
1819 | 1819 | |**max\_connections\_per\_host**|`integer`|Limits the concurrent amount of requests/connections per host/subgraph.<br/>Default: `100`<br/>Format: `"uint"`<br/>Minimum: `0`<br/>|| |
1820 | | -|**pool\_idle\_timeout\_seconds**|`integer`|Timeout for idle sockets being kept-alive.<br/>Default: `50`<br/>Format: `"uint64"`<br/>Minimum: `0`<br/>|| |
| 1820 | +|**pool\_idle\_timeout**|`string`|Timeout for idle sockets being kept-alive.<br/>Default: `"50s"`<br/>|| |
1821 | 1821 |
|
1822 | 1822 | **Additional Properties:** not allowed |
1823 | 1823 | **Example** |
1824 | 1824 |
|
1825 | 1825 | ```yaml |
1826 | 1826 | dedupe_enabled: true |
1827 | 1827 | max_connections_per_host: 100 |
1828 | | -pool_idle_timeout_seconds: 50 |
| 1828 | +pool_idle_timeout: 50s |
1829 | 1829 |
|
1830 | 1830 | ``` |
1831 | 1831 |
|
|
0 commit comments