Repository navigation
Replies: 1 comment
|
I support exposing this as a narrow, restart-required setting. The five-second wait is deployment policy rather than a correctness invariant, and preserving 5.0 as the default keeps the current behavior stable. A few points should be clarified before implementation:
With those clarifications, the scope looks sound and useful. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
PR #4933 protects cancellation compensation for durable MCP submissions.
When the caller is cancelled during local persistence, DeerFlow starts remote
compensation and currently waits for a fixed five-second deadline before
propagating the original cancellation. If the deadline expires, compensation
continues as a tracked background task.
The five-second value is currently hard-coded in
app/mcp_tasks/service.py.Different deployments may have different requirements:
Proposed scope
Add one restart-required setting under
mcp_tasks, for example:The setting would:
Non-goals
Validation
I would add deterministic coverage for:
Would this narrowly scoped configuration capability be useful, or would you
prefer to keep the five-second policy internal?
All reactions