mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 重建索引前清空数据库队列
This commit is contained in:
@@ -64,6 +64,7 @@ func InitDatabase(forceRebuild bool) (err error) {
|
||||
util.IncBootProgress(2, "Initializing database...")
|
||||
|
||||
if forceRebuild {
|
||||
ClearQueue()
|
||||
WaitForWritingDatabase()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user