mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 19:56:10 +01:00
🎨 重建索引消息提示
This commit is contained in:
parent
d5158ee9bd
commit
af694ad3c1
1 changed files with 2 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ func FullReindex() {
|
|||
}
|
||||
|
||||
func fullReindex() {
|
||||
util.PushMsg(Conf.Language(35), 7*1000)
|
||||
msgId := util.PushMsg(Conf.Language(35), 7*1000)
|
||||
WaitForWritingFiles()
|
||||
|
||||
if err := sql.InitDatabase(true); nil != err {
|
||||
|
|
@ -518,6 +518,7 @@ func fullReindex() {
|
|||
treenode.SaveBlockTree(true)
|
||||
LoadFlashcards()
|
||||
runtime.GC()
|
||||
util.PushClearMsg(msgId)
|
||||
go func() {
|
||||
time.Sleep(3 * time.Second)
|
||||
util.PushStatusBar(Conf.Language(108))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue