Commit dfac8a5
authored
Fix incorrect default values in docs and example config for startup/tool timeouts and domain (#3652)
Three documentation discrepancies between `config_core.go` constants and
user-facing docs: `startupTimeout`/`toolTimeout` defaults were
documented as 2× their actual values, and `domain` was documented as
defaulting to `"localhost"` when it has no code-level default.
## Changes
- **`docs/CONFIGURATION.md`** — Gateway config table: `startupTimeout`
`60`→`30`, `toolTimeout` `120`→`60`, `domain` default
`localhost`→`(unset)`
- **`config.example.toml`** — Inline comments corrected: `(default:
60)`→`(default: 30)` and `(default: 120)`→`(default: 60)`; explicit
override values (`60`/`120`) intentionally kept as examples of
non-default configuration
## Authoritative source
```go
// internal/config/config_core.go
DefaultStartupTimeout = 30 // seconds (per spec §4.1.3)
DefaultToolTimeout = 60 // seconds (per spec §4.1.3)
```2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
0 commit comments