mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-05-05 09:59:17 -05:00
🎨 Data sync supports the multi-kernel online perception https://github.com/siyuan-note/siyuan/issues/8518
This commit is contained in:
+1
-7
@@ -209,13 +209,7 @@ func setSyncMode(c *gin.Context) {
|
||||
}
|
||||
|
||||
mode := int(arg["mode"].(float64))
|
||||
err := model.SetSyncMode(mode)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
ret.Data = map[string]interface{}{"closeTimeout": 5000}
|
||||
return
|
||||
}
|
||||
model.SetSyncMode(mode)
|
||||
}
|
||||
|
||||
func setSyncProvider(c *gin.Context) {
|
||||
|
||||
Reference in New Issue
Block a user