mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 07:48:49 +01:00
♻️ Implement some delayed kernel events using task queues https://github.com/siyuan-note/siyuan/issues/12393
This commit is contained in:
parent
9088e49a76
commit
09eec52a02
10 changed files with 79 additions and 44 deletions
|
|
@ -219,7 +219,7 @@ func Mount(boxID string) (alreadyMount bool, err error) {
|
|||
Conf.Save()
|
||||
}
|
||||
|
||||
task.AppendTaskWithDelay(task.PushMsg, 3*time.Second, util.PushErrMsg, Conf.Language(52), 7000)
|
||||
task.AppendAsyncTaskWithDelay(task.PushMsg, 3*time.Second, util.PushErrMsg, Conf.Language(52), 7000)
|
||||
go func() {
|
||||
// 每次打开帮助文档时自动检查版本更新并提醒 https://github.com/siyuan-note/siyuan/issues/5057
|
||||
time.Sleep(time.Second * 10)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue