Skip to content

Commit 18112ae

Browse files
committed
Readme
1 parent e319e11 commit 18112ae

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

docs/README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,19 +1879,9 @@ Optional per-subgraph configurations that will override the default configuratio
18791879

18801880
|Name|Type|Description|Required|
18811881
|----|----|-----------|--------|
1882-
|**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/>||
1883-
|**pool\_idle\_timeout\_seconds**|`integer`|Timeout for idle sockets being kept-alive.<br/>Default: `50`<br/>Format: `"uint64"`<br/>Minimum: `0`<br/>||
1884-
|**request\_timeout**||Optional timeout configuration for requests to subgraphs.<br/><br/>Example with a fixed duration:<br/>```yaml<br/> timeout:<br/> duration: 5s<br/>```<br/><br/>Or with a VRL expression that can return a duration based on the operation kind:<br/>```yaml<br/> timeout:<br/> expression: \|<br/> if (.request.operation.type == "mutation") {<br/> "10s"<br/> } else {<br/> "15s"<br/> }<br/>```<br/>Default: `{"Duration":"15s"}`<br/>||
1882+
|**dedupe\_enabled**|`boolean`, `null`|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/>||
1883+
|**pool\_idle\_timeout\_seconds**|`integer`, `null`|Timeout for idle sockets being kept-alive.<br/>Format: `"uint64"`<br/>Minimum: `0`<br/>||
1884+
|**request\_timeout**||Optional timeout configuration for requests to subgraphs.<br/><br/>Example with a fixed duration:<br/>```yaml<br/> timeout:<br/> duration: 5s<br/>```<br/><br/>Or with a VRL expression that can return a duration based on the operation kind:<br/>```yaml<br/> timeout:<br/> expression: \|<br/> if (.request.operation.type == "mutation") {<br/> "10s"<br/> } else {<br/> "15s"<br/> }<br/>```<br/>||
18851885

18861886
**Additional Properties:** not allowed
1887-
**Example**
1888-
1889-
```yaml
1890-
dedupe_enabled: true
1891-
pool_idle_timeout_seconds: 50
1892-
request_timeout:
1893-
Duration: 15s
1894-
1895-
```
1896-
18971887

0 commit comments

Comments
 (0)