mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🐛 数据库层缓存失效 Fix https://github.com/siyuan-note/siyuan/issues/6637
This commit is contained in:
parent
c2c0794e48
commit
daa7fc6300
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,10 @@ func init() {
|
|||
}
|
||||
|
||||
func InitDatabase(forceRebuild bool) (err error) {
|
||||
ClearBlockCache()
|
||||
DisableCache()
|
||||
defer EnableCache()
|
||||
|
||||
util.IncBootProgress(2, "Initializing database...")
|
||||
|
||||
if forceRebuild {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue