kimi-code/apps
qer ce405b7945 fix(web): add a 30s timeout to all daemon REST calls
fetch() was issued with no signal anywhere, so a hung connection (the
half-open TCP you get after a network change — the same scenario that
kills the WS) left the promise pending for minutes. submitPrompt sets
the per-session in-flight flag before awaiting, and that flag is only
cleared on settle, so one hung submit silently routed every subsequent
prompt into the queue until the browser's own socket timeout fired.
AbortSignal.timeout(30s) turns the hang into the existing
DaemonNetworkError path (with a jsdom-safe fallback), which already
cleans up the in-flight state.
2026-06-11 10:14:46 +08:00
..
kimi-code feat(daemon,web): expand daemon APIs and web client 2026-06-11 10:14:45 +08:00
kimi-web fix(web): add a 30s timeout to all daemon REST calls 2026-06-11 10:14:46 +08:00
vis refactor: background task manager persistence (#285) 2026-06-02 12:48:31 +08:00