技能 2026-10-09 14:25 UTC
comfyui-agent-skillv0.1.13
版本【0.1.13】由提交人 MieMieeeee 提交,主要更新类型为:依赖升级与工程维护。提交说明:Release 0.1.13: bound every ComfyUI HTTP call with connect/read timeouts.。更新了依赖与构建配置,跟进上游版本。
Commit提交信息原文
Release 0.1.13: bound every ComfyUI HTTP call with connect/read timeouts. All seven requests call sites in the vendored client (prompt submission, queue/history/image/video reads, and both uploads) passed no timeout, so a server that accepted the connection but stopped responding could block prompt submission, polling and downloads indefinitely. The poller's get_history was unbounded even though the adjacent WebSocket read was bounded. ComfyApi now takes connect_timeout (default 10s) and read_timeout (default 60s) and forwards a (connect, read) tuple to every call. Configurable via http_connect_timeout / http_read_timeout in config.local.json or the COMFYUI_HTTP_CONNECT_TIMEOUT / COMFYUI_HTTP_READ_TIMEOUT environment variables; invalid values fall back to the defaults. These bound a single request and stay independent of the overall --timeout-s generation deadline. A read timeout is a socket idle timeout, not a total-transfer cap, so a slow-but-steady upload or download is never interrupted. Poll failures now surface as transient errors through the existing path, so no new error codes were needed. Recorded the local api.py patch in VENDORING.md so a re-sync from upstream does not silently revert it.