perf(hooks): reduce Stop hook timeout from 20s to 8s

The Stop hook only runs a ~500ms visual flash; 20 seconds was far more
than any realistic process-start latency needs, including the one-time
native shim compile on Windows.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Julian lechner
2026-09-11 15:43:57 +02:00
co-authored by Claude Sonnet 5
parent ae421ce93b
commit b59d355e99
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
{ {
"type": "command", "type": "command",
"command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__\"", "command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__\"",
"timeout": 20 "timeout": 8
} }
] ]
} }
+1 -1
View File
@@ -17,4 +17,4 @@ hooks = true
type = "command" type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__"' command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__"'
command_windows = '__WINDOWS_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/__WINDOWS_HOOK_SCRIPT__"' command_windows = '__WINDOWS_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/__WINDOWS_HOOK_SCRIPT__"'
timeout = 20 timeout = 8