SundaeYAGO/dsh-stream-timeout-fix ↗★ 0
dsh-stream-timeout-fix
替换默认超时设置以修复长连接流中断 适合使用第三方或自建API,常因SSE流长时间静默导致连接报错的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SundaeYAGO/dsh-stream-timeout-fix说明文档
阅读完整 README ↗Configuration
| Setting | Default | Where |
|---|---|---|
bodyTimeoutMs | 1800000 | patch row config, or env DSH_STREAM_TIMEOUT_BODY_MS |
headersTimeoutMs | 600000 | patch row config, or env DSH_STREAM_TIMEOUT_HEADERS_MS |
Set either to 0 to disable that clock entirely (not recommended globally — you
lose the last-resort reclamation of dead sockets).