mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 03:48:48 +01:00
♻️ Implement some delayed kernel events using task queues https://github.com/siyuan-note/siyuan/issues/12393
This commit is contained in:
parent
09eec52a02
commit
653a765b17
4 changed files with 54 additions and 26 deletions
|
|
@ -656,7 +656,7 @@ func checkoutRepo(id string) {
|
|||
task.AppendTask(task.ReloadUI, util.ReloadUIResetScroll)
|
||||
|
||||
if syncEnabled {
|
||||
task.AppendAsyncTaskWithDelay(task.PushMsg, 3*time.Second, util.PushMsg, Conf.Language(134), 0)
|
||||
task.AppendAsyncTaskWithDelay(task.PushMsg, 7*time.Second, util.PushMsg, Conf.Language(134), 0)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue