mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 调整数据库缓存
This commit is contained in:
parent
6a5617dcc1
commit
19f44148d4
13 changed files with 17 additions and 22 deletions
|
|
@ -68,8 +68,8 @@ func InitDatabase(forceRebuild bool) (err error) {
|
|||
defer initDatabaseLock.Unlock()
|
||||
|
||||
ClearBlockCache()
|
||||
DisableCache()
|
||||
defer EnableCache()
|
||||
disableCache()
|
||||
defer enableCache()
|
||||
|
||||
util.IncBootProgress(2, "Initializing database...")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue