Skip to content

Commit ac592d1

Browse files
authored
docs(router): update supergraph config for hive source (#7283)
1 parent 4f0ab65 commit ac592d1

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

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

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,34 @@ supergraph:
6969
poll_interval: 10s
7070
```
7171

72-
### `timeout`
72+
### `request_timeout`
7373

7474
- **Type:** `string`
7575
- **Required:** No
7676
- **Default:** `60s`
7777

78-
A human-readable string representing the timeout for Hive CDN requests.
78+
A human-readable string representing the request timeout for Hive CDN requests.
7979

8080
```yaml {4} filename="router.config.yaml"
8181
supergraph:
8282
source: hive
8383
# ...
84-
timeout: 60s
84+
request_timeout: 60s
85+
```
86+
87+
### `connect_timeout`
88+
89+
- **Type:** `string`
90+
- **Required:** No
91+
- **Default:** `10s`
92+
93+
A human-readable string representing the connection timeout for Hive CDN requests.
94+
95+
```yaml {4} filename="router.config.yaml"
96+
supergraph:
97+
source: hive
98+
# ...
99+
connect_timeout: 10s
85100
```
86101

87102
### `retry_policy`
@@ -101,6 +116,22 @@ supergraph:
101116
max_retries: 10
102117
```
103118

119+
### `accept_invalid_certs`
120+
121+
- **Type:** `boolean`
122+
- **Required:** No
123+
- **Default:** `false`
124+
125+
If set to `true`, allows accepting invalid TLS certificates when connecting to Hive CDN. Useful for
126+
development or testing environments.
127+
128+
```yaml {4} filename="router.config.yaml"
129+
supergraph:
130+
source: hive
131+
# ...
132+
accept_invalid_certs: false
133+
```
134+
104135
## Filesystem
105136

106137
The most straightforward way to provide your supergraph schema is as a local file. This works well

0 commit comments

Comments
 (0)