mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
♻️ Improve transaction flush
This commit is contained in:
parent
72d1a059ac
commit
8dd0629b9c
23 changed files with 69 additions and 82 deletions
|
|
@ -619,7 +619,7 @@ func fullReindex() {
|
|||
util.PushEndlessProgress(Conf.language(35))
|
||||
defer util.PushClearProgress()
|
||||
|
||||
WaitForWritingFiles()
|
||||
FlushTxQueue()
|
||||
|
||||
if err := sql.InitDatabase(true); err != nil {
|
||||
os.Exit(logging.ExitCodeReadOnlyDatabase)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue