Skip to content
Discussion options

You must be logged in to vote

插件发布了:https://github.com/d3vmeh/dsh-fetch-timeouts

安装:

dsh plugin --profile web add dsh-fetch-timeouts

默认把 headersTimeout 和 bodyTimeout 都调到 30 分钟,可以在 profile 的 cordis.patch.yml 里改。记得同时把 ollama 路由上的 streamIdleTimeoutMstimeoutMs 也调大,否则 dsh 自己的看门狗会先触发。它是全进程生效的(dsh 里所有 fetch 都会用更长的超时),在本地单人使用的机器上没问题;如果设置了 NODE_USE_ENV_PROXY,代理仍然有效。Windows 上我没有测过,试了之后欢迎反馈。

(English: published. Install with the line above; defaults to 30 minutes for both timeouts, configurable in your profile patch. Also raise streamIdleTimeoutMs and timeoutMs on the ollama route or dsh's own watchdog fires first. Process-wide, proxy env vars still honoured. Not tested on Windows yet, feedback welcome.)

Replies: 8 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@yuubo
Comment options

@yuubo
Comment options

Comment options

You must be logged in to vote
1 reply
@yuubo
Comment options

Comment options

You must be logged in to vote
1 reply
@yuubo
Comment options

Comment options

You must be logged in to vote
1 reply
@yuubo
Comment options

Comment options

You must be logged in to vote
1 reply
@yuubo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@yuubo
Comment options

@yuubo
Comment options

@d3vmeh
Comment options

@yuubo
Comment options

Answer selected by yuubo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants