fix: v0.2.6 — trigger_build_stream truly fire-and-forget
Claude Desktop times out tool calls after ~4 minutes. The previous implementation read the first SSE chunk before returning, which could block for the entire image-pull duration. Now: send the GET request, wait for HTTP response headers (status check only), close the connection immediately — never read SSE events. DSM starts the build on receipt of the request and continues server-side. ReadTimeout on headers is caught and ignored (request already sent). Removes the _json import added in 0.2.5. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "mcp-synology-container"
|
||||
version = "0.2.5"
|
||||
version = "0.2.6"
|
||||
description = "MCP server for Synology Container Manager"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user