Skip to content

QMReader v1.0.13 — 按页读取,减少正文阻塞

Choose a tag to compare

@joeseesun joeseesun released this 28 Oct 14:58
b112e4f

中文

修复 API v1 文章列表在分页前为整个候选集合加载中文、译文和阅读统计的问题。现在只为当前页读取这些数据,保留排序、分页游标、搜索范围、权限和响应字段,减少同步数据库工作对正文读取的阻塞。

验证

  • 181 项项目测试、8 项网络恢复测试和 3 项 Python 检查通过;新增真实 HTTP 回归在旧实现上失败、新实现上通过。GitHub 分支及 PR 检查均通过。
  • 主站已部署 1.0.13,99 个运行文件与发布包摘要一致,健康检查通过。
  • 5 条文章列表的服务器内部采样由约 8.92 秒降为 0.666 秒。两个已有中文样本内部返回约 0.007–0.008 秒,公网采样约 0.80–1.56 秒;采样不代表延迟保证,也不能把全部改善归因于代码修改。
  • Chrome 管理员登录状态从首页进入 Next Token,首次打开 #7 后完整中文已显示,加载提示消失。
  • 生产依赖审计 0 个已知漏洞;不代表服务器安全审计或入侵清理结论。

升级与限制

主站用户刷新页面即可。自部署请保留 data、配置和密钥,使用仓库发布脚本的备份/回滚流程。本版本保持后台预生成策略,不在读取请求中调用 AI。当前宿主环境仍有 CPU 调度压力,未覆盖所有代理/TUN 网络配置。

English

Hydrate translations, rewrites and reading statistics only after selecting the API v1 result page. Preserve filtering, cursor behavior, visibility and response fields while reducing synchronous database work that can block article reads.

Validation: 181 project tests, 8 network recovery tests and 3 Python checks passed; both GitHub checks passed. The regression fails on the old implementation. Production identity and all 99 runtime files match the release archive. Authenticated Chrome navigation rendered the existing Chinese article successfully. Timings are bounded samples, not guarantees; infrastructure pressure remains.

Hosted users can refresh. Self-hosters should preserve data/configuration/secrets and use the backup/rollback deployment flow.

Commit: b112e4f16699db7cf1952a1b4540f100670485f7
Archive SHA-256: 85763aa972118867236584f093277c1ab4a8267a89633ea0b1705d26ff09f792