Skip to content

Commit b600b7b

Browse files
authored
Document runtime.shutdown_timeout param (#966)
* Document runtime.shutdown_timeout param * Update runtime.md
1 parent 058b7fc commit b600b7b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

website/docs/reference/spicepod/runtime.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ runtime:
3737

3838
Use `sql` for the lowest latency with identical queries that do not include dynamic functions. Use `plan` for greater flexibility.
3939

40+
## `runtime.shutdown_timeout`
41+
42+
Controls how long Spice waits for connections to be gracefully drained and for components to shut down cleanly during runtime termination. Defaults to 30 seconds.
43+
44+
```yaml
45+
runtime:
46+
shutdown_timeout: 1m
47+
```
48+
4049
## `runtime.tls`
4150

4251
The TLS section specifies the configuration for enabling Transport Layer Security (TLS) for all endpoints exposed by the runtime. [Learn more about enabling TLS](/docs/api/tls/index.md).

0 commit comments

Comments
 (0)