Skip to content

云端同步数据在启动后执行 #6290

Closed
@88250

Description

@88250
Member

目前在启动阶段会进行一次完整的云端同步过程,以确保用户进入主界面后数据的一致性。带来的问题就是如果数据量较大,则启动等待时间会较长,在弱网环境下用户体验下降尤为明显。

考虑改进为启动阶段仅下载云端索引文件,通过和本地文件差异对比后就进入主界面,然后后台异步执行后续的数据同步处理,需要考虑将待下载文档设置为锁定只读状态。

Activity

self-assigned this
on Oct 21, 2022
added this to the 2.4.5 milestone on Oct 21, 2022
changed the title [-]云端同步不阻塞启动[/-] [+]云端数据同步不阻塞启动[/+] on Oct 22, 2022
changed the title [-]云端数据同步不阻塞启动[/-] [+]云端同步数据在启动后执行[/+] on Oct 22, 2022
added a commit that references this issue on Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219

      Issue actions

        云端同步数据在启动后执行 · Issue #6290 · siyuan-note/siyuan