const HOOK_TIMEOUT: Duration;Expand description
Hard cap on how long a hook child may run before it’s killed. Hooks are fire-and-forget, so a hung one — an accidental infinite loop, a read that blocks despite the null stdin — would otherwise live until the app exits. 30s is generous for the quick notify/log commands hooks are meant for while still bounding a runaway.