Files
MooTool/next-compose/docs/diff/188-legacy-java-http-timeout-host-export.md
RememBerBerandCursor c834db2a83 feat(next-compose): 对照 Electron 落地 F00–F25 与 A01–A03 主体能力
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 06:51:45 +08:00

812 B
Raw Permalink Blame History

DIFF-188:Java HTTP 超时与 Host 导出目录

背景

Java config.setting 含 setting.http.httpTimeoutMs(全局 HTTP 超时)与 func.host.hostExportPath(Host 工具导出目录,与随手记/JSON/图片导出路径同类)。

行为

  • applyPatch:httpTimeoutMs → network.requestTimeoutMs(1_000~120_000);hostExportPath 并入导出目录候选链(绝对路径时写入 tools.exportDirectory,优先级低于 quickNote/json/image)。
  • applySessionPatches:httpTimeoutMs → HttpSession.timeoutMs(HttpEngine.clampTimeout)并持久化,迁移后 HTTP 工具内超时与 Java 一致。

证据

  • LegacyJavaSettingsTest.applyPatchMapsHttpTimeoutAndHostExportDirectory
  • LegacyJavaSettingsTest.applySessionPatchesMapsHttpTimeoutToHttpSession