Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实现ws链接的复用 #11376

Open
zxhd863943427 opened this issue May 13, 2024 · 1 comment
Open

实现ws链接的复用 #11376

zxhd863943427 opened this issue May 13, 2024 · 1 comment

Comments

@zxhd863943427
Copy link
Contributor

In what scenarios do you need this feature?

目前 ws 链接数量过多给大量 protyle 的加载使用带来了显著的影响,也导致反链面板的加载数量存在上限,同时显著了进一步进行白板、卡片盒之类功能的开发,所以希望能够实现 ws 链接的复用。

Describe the optimal solution

实现ws链接的复用。

Describe the candidate solution

No response

Other information

No response

@Wetoria
Copy link

Wetoria commented May 13, 2024

附议。
protyle里,完全可以根据块id之类的“唯一身份”进行数据更新,没必要每个protyle都创建一个ws链接。
如果有其他考虑,能回复我告知一下吗?


ws集中管理以后,在插件中实现白板、关系图等功能时,阻力也会小很多了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants