mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 数据库层缓存失效 Fix https://github.com/siyuan-note/siyuan/issues/6637
This commit is contained in:
@@ -57,6 +57,10 @@ func init() {
|
||||
}
|
||||
|
||||
func InitDatabase(forceRebuild bool) (err error) {
|
||||
ClearBlockCache()
|
||||
DisableCache()
|
||||
defer EnableCache()
|
||||
|
||||
util.IncBootProgress(2, "Initializing database...")
|
||||
|
||||
if forceRebuild {
|
||||
|
||||
Reference in New Issue
Block a user