mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +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
|
|
@ -28,6 +28,7 @@ import (
|
|||
|
||||
func StartCron() {
|
||||
go every(100*time.Millisecond, task.ExecTaskJob)
|
||||
go every(100*time.Millisecond, task.ExecAsyncTaskJob)
|
||||
go every(5*time.Second, task.StatusJob)
|
||||
go every(5*time.Second, model.SyncDataJob)
|
||||
go every(2*time.Hour, model.StatJob)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue