mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Enlarge cache size
This commit is contained in:
@@ -38,8 +38,8 @@ func disableCache() {
|
||||
}
|
||||
|
||||
var blockCache, _ = ristretto.NewCache(&ristretto.Config{
|
||||
NumCounters: 10240,
|
||||
MaxCost: 1024,
|
||||
NumCounters: 102400,
|
||||
MaxCost: 10240,
|
||||
BufferItems: 64,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user