mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve boot logging for database
This commit is contained in:
parent
2d8152381c
commit
c925f06326
4 changed files with 20 additions and 7 deletions
|
|
@ -96,6 +96,8 @@ func initDBConnection() {
|
|||
if nil != db {
|
||||
closeDatabase()
|
||||
}
|
||||
|
||||
util.LogDatabaseSize(util.BlockTreeDBPath)
|
||||
dsn := util.BlockTreeDBPath + "?_journal_mode=WAL" +
|
||||
"&_synchronous=OFF" +
|
||||
"&_mmap_size=2684354560" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue