mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
package sql
|
||||
|
||||
import (
|
||||
"runtime/debug"
|
||||
"time"
|
||||
|
||||
"github.com/88250/lute/ast"
|
||||
@@ -46,7 +45,6 @@ var blockCache, _ = ristretto.NewCache(&ristretto.Config{
|
||||
|
||||
func ClearCache() {
|
||||
blockCache.Clear()
|
||||
debug.FreeOSMemory()
|
||||
}
|
||||
|
||||
func putBlockCache(block *Block) {
|
||||
|
||||
Reference in New Issue
Block a user