🎨 Improve data synchronization perception https://github.com/siyuan-note/siyuan/issues/13000
This commit is contained in:
parent
b6dd1a788f
commit
fc50b864ad
3 changed files with 5 additions and 4 deletions
|
@ -54,7 +54,7 @@ require (
|
|||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
|
||||
github.com/sashabaranov/go-openai v1.29.1
|
||||
github.com/shirou/gopsutil/v3 v3.24.5
|
||||
github.com/siyuan-note/dejavu v0.0.0-20241101165922-5c8aefd88ca8
|
||||
github.com/siyuan-note/dejavu v0.0.0-20241102040801-b415ddf75154
|
||||
github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4
|
||||
github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97
|
||||
github.com/siyuan-note/filelock v0.0.0-20240724034355-d1ed7bf21d04
|
||||
|
|
|
@ -332,8 +332,8 @@ github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+D
|
|||
github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d h1:lvCTyBbr36+tqMccdGMwuEU+hjux/zL6xSmf5S9ITaA=
|
||||
github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d/go.mod h1:05UtEgK5zq39gLST6uB0cf3NEHjETfB4Fgr3Gx5R9Vw=
|
||||
github.com/simplereach/timeutils v1.2.0/go.mod h1:VVbQDfN/FHRZa1LSqcwo4kNZ62OOyqLLGQKYB3pB0Q8=
|
||||
github.com/siyuan-note/dejavu v0.0.0-20241101165922-5c8aefd88ca8 h1:l5L5yJiJ8cIgzGSe4v5fBjzkhm4H/S69FA8n20liu/M=
|
||||
github.com/siyuan-note/dejavu v0.0.0-20241101165922-5c8aefd88ca8/go.mod h1:PfTyVdHF4Ba0Sl9MblG9Ht0od/lWmUnIcBHqEeC/g88=
|
||||
github.com/siyuan-note/dejavu v0.0.0-20241102040801-b415ddf75154 h1:CTexAFB8DAPt4R1cLNGZ9WvkPzmY9L3lF44M1j8FNUs=
|
||||
github.com/siyuan-note/dejavu v0.0.0-20241102040801-b415ddf75154/go.mod h1:PfTyVdHF4Ba0Sl9MblG9Ht0od/lWmUnIcBHqEeC/g88=
|
||||
github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4 h1:kJaw5L/evyW6LcB9IQT8PR4ppx8JVqOFP9Ix3rfwSrc=
|
||||
github.com/siyuan-note/encryption v0.0.0-20231219001248-1e028a4d13b4/go.mod h1:UYcCCY+0wh+GmUoDOaO63j1sV5lgy7laLAk1XhEiUis=
|
||||
github.com/siyuan-note/eventbus v0.0.0-20240627125516-396fdb0f0f97 h1:lM5v8BfNtbOL5jYwhCdMYBcYtr06IYBKjjSLAPMKTM8=
|
||||
|
|
|
@ -805,7 +805,8 @@ func connectSyncWebSocket() {
|
|||
data := result.Data.(map[string]interface{})
|
||||
switch data["cmd"].(string) {
|
||||
case "synced":
|
||||
syncData(false, false)
|
||||
// Improve data synchronization perception https://github.com/siyuan-note/siyuan/issues/13000
|
||||
SyncDataDownload()
|
||||
case "kernels":
|
||||
onlineKernelsLock.Lock()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue