Skip to content

Improve marketplace list loading - #16965

Merged
88250 merged 2 commits into
siyuan-note:devfrom
TCOTC:fix/package
Feb 3, 2026
Merged

Improve marketplace list loading#16965
88250 merged 2 commits into
siyuan-note:devfrom
TCOTC:fix/package

Conversation

@TCOTC

@TCOTC TCOTC commented Feb 2, 2026

Copy link
Copy Markdown
Contributor
  • 直接使用 stage 索引中的 package 数据,不再为每个包单独请求 JSON
  • 统一索引获取逻辑,使用 singleflight 合并并发请求
  • 优化在线状态检查耗时,改用 https://oss.b3logfile.com/204
  • 改进 disallowInstallBazaarPackage 函数性能

接口快了很多:

PixPin_2026-02-03_01-08-28

- 直接使用 stage 索引中的 package 数据,不再为每个包单独请求 JSON
- 统一索引获取逻辑,使用 singleflight 合并并发请求
- 优化在线状态检查耗时,改用 https://oss.b3logfile.com/204
- 改进 disallowInstallBazaarPackage 函数性能
@TCOTC TCOTC changed the title 优化集市列表加载 Improve marketplace list loading Feb 2, 2026
@88250 88250 added this to the 3.5.5 milestone Feb 3, 2026
@88250
88250 merged commit 4eec7b5 into siyuan-note:dev Feb 3, 2026
@TCOTC
TCOTC deleted the fix/package branch February 4, 2026 08:49
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants