Skip to content

Commit 1631140

Browse files
committed
Fix config'
1 parent 01f66d7 commit 1631140

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
|[**override\_subgraph\_urls**](#override_subgraph_urls)|`object`|Configuration for overriding subgraph URLs.<br/>Default: `{}`<br/>||
1616
|[**query\_planner**](#query_planner)|`object`|Query planning configuration.<br/>Default: `{"allow_expose":false,"timeout":"10s"}`<br/>||
1717
|[**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/>||
1919

2020
**Additional Properties:** not allowed
2121
**Example**
@@ -109,7 +109,7 @@ supergraph: {}
109109
traffic_shaping:
110110
dedupe_enabled: true
111111
max_connections_per_host: 100
112-
pool_idle_timeout_seconds: 50
112+
pool_idle_timeout: 50s
113113

114114
```
115115

@@ -1817,15 +1817,15 @@ Configuration for the traffic-shaping of the executor. Use these configurations
18171817
|----|----|-----------|--------|
18181818
|**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/>||
18191819
|**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/>||
18211821

18221822
**Additional Properties:** not allowed
18231823
**Example**
18241824

18251825
```yaml
18261826
dedupe_enabled: true
18271827
max_connections_per_host: 100
1828-
pool_idle_timeout_seconds: 50
1828+
pool_idle_timeout: 50s
18291829
18301830
```
18311831

0 commit comments

Comments
 (0)