Repository navigation
Commit 913dfa8
fix(server): give Claude boot room for SessionStart hooks up to their timeout
SessionStart hooks run before the CLI answers initialize, so they count
against the boot deadline, not MCP registration. Measured with SDK 0.3.321:
a 75 s hook delayed initializationResult() by 75 s and mcp_set_servers was
answered 0.1 s later. Keep registration at 90 s and raise boot from 5 to 11
minutes to cover Claude Code's 10 minute hook timeout.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent b58ea83 commit 913dfa8
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- apps/server/src/orchestration-v2/Adapters
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
354 | 356 | | |
355 | 357 | | |
356 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
503 | | - | |
| 503 | + | |
| 504 | + | |
504 | 505 | | |
505 | 506 | | |
506 | 507 | | |
| |||
0 commit comments