fix: window_timeout for one-shot tasks, drop debug stderr logging
_poll_task now accepts window_timeout. For DirSize and MD5 (one-shot result windows), if only 599 errors arrive for window_timeout seconds without ever seeing the task alive (finished=False), return a fast "result window missed — please retry" error instead of waiting the full 60 s. Tasks that return finished=False at least once (large dirs, large files) are unaffected. Also removes the stale [dsm] debug stderr.write left in client.request(). 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-filestation"
|
||||
version = "0.2.4"
|
||||
version = "0.2.5"
|
||||
description = "MCP server for Synology FileStation"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user