mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Auto rebuild history database index when indexing failed https://github.com/siyuan-note/siyuan/issues/8543
This commit is contained in:
@@ -83,7 +83,7 @@ func FlushHistoryQueue() {
|
||||
if err = execHistoryOp(op, tx, context); nil != err {
|
||||
tx.Rollback()
|
||||
logging.LogErrorf("queue operation failed: %s", err)
|
||||
util.PushMsg("History database index failed, please try to manually rebuild it in [Data history - File history]", 5000)
|
||||
eventbus.Publish(util.EvtSQLHistoryRebuild)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user