mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
78ed38a33a
commit
df9122b664
16 changed files with 175 additions and 197 deletions
|
|
@ -20,11 +20,10 @@ package main
|
|||
|
||||
import (
|
||||
"github.com/siyuan-note/siyuan/kernel/cache"
|
||||
"github.com/siyuan-note/siyuan/kernel/job"
|
||||
"github.com/siyuan-note/siyuan/kernel/model"
|
||||
"github.com/siyuan-note/siyuan/kernel/server"
|
||||
"github.com/siyuan-note/siyuan/kernel/sql"
|
||||
"github.com/siyuan-note/siyuan/kernel/task"
|
||||
"github.com/siyuan-note/siyuan/kernel/treenode"
|
||||
"github.com/siyuan-note/siyuan/kernel/util"
|
||||
)
|
||||
|
||||
|
|
@ -43,24 +42,13 @@ func main() {
|
|||
model.LoadFlashcards()
|
||||
model.LoadAssetsTexts()
|
||||
|
||||
go task.Loop()
|
||||
go task.StatusLoop()
|
||||
|
||||
go model.AutoGenerateDocHistory()
|
||||
go model.AutoSync()
|
||||
go model.AutoStat()
|
||||
util.SetBooted()
|
||||
util.PushClearAllMsg()
|
||||
go model.AutoRefreshCheck()
|
||||
go model.AutoFlushTx()
|
||||
go sql.AutoFlushTx()
|
||||
go treenode.AutoFlushBlockTree()
|
||||
|
||||
job.StartCron()
|
||||
go model.AutoGenerateDocHistory()
|
||||
go cache.LoadAssets()
|
||||
go model.AutoFixIndex()
|
||||
go model.AutoIndexEmbedBlock()
|
||||
go model.AutoOCRAssets()
|
||||
go model.AutoFlushAssetsTexts()
|
||||
go model.HookDesktopUIProc()
|
||||
|
||||
model.WatchAssets()
|
||||
model.HandleSignal()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue