Skip to content

Commit d96690e

Browse files
authored
docs: Add note on Version Switching Mode (#2901)
* docs: Add note on Version Switching Mode * Add default
1 parent 1b7e7b0 commit d96690e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/environment-variables.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ those.
170170
decisions. Set to `true` to turn simulation on, defaults to `false`
171171
- `GRAPH_STORE_CONNECTION_TIMEOUT`: How long to wait to connect to a
172172
database before assuming the database is down in ms. Defaults to 5000ms.
173+
- `EXPERIMENTAL_SUBGRAPH_VERSION_SWITCHING_MODE`: default is `instant`, set
174+
to `synced` to only switch a named subgraph to a new deployment once it
175+
has synced, making the new deployment the "Pending" version.
173176
- `GRAPH_REMOVE_UNUSED_INTERVAL`: How long to wait before removing an
174177
unused deployment. The system periodically checks and marks deployments
175178
that are not used by any subgraphs any longer. Once a deployment has been

0 commit comments

Comments
 (0)