mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113
This commit is contained in:
parent
801bc69820
commit
7e014cb525
7 changed files with 27 additions and 15 deletions
|
|
@ -486,7 +486,7 @@ func FullReindex() {
|
|||
}
|
||||
|
||||
func fullReindex() {
|
||||
util.PushEndlessProgress(Conf.Language(35))
|
||||
util.PushMsg(Conf.Language(35), 60*1000*10)
|
||||
WaitForWritingFiles()
|
||||
|
||||
if err := sql.InitDatabase(true); nil != err {
|
||||
|
|
@ -505,7 +505,7 @@ func fullReindex() {
|
|||
treenode.SaveBlockTree(true)
|
||||
LoadFlashcards()
|
||||
|
||||
util.PushEndlessProgress(Conf.Language(58))
|
||||
util.PushMsg(Conf.Language(58), 7000)
|
||||
go func() {
|
||||
time.Sleep(1 * time.Second)
|
||||
util.ReloadUI()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue