Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
d2cf402c6a
2 changed files with 6 additions and 6 deletions
8
kernel/cache/ial.go
vendored
8
kernel/cache/ial.go
vendored
|
@ -24,8 +24,8 @@ import (
|
|||
)
|
||||
|
||||
var docIALCache, _ = ristretto.NewCache(&ristretto.Config{
|
||||
NumCounters: 10240,
|
||||
MaxCost: 1024,
|
||||
NumCounters: 102400,
|
||||
MaxCost: 10240,
|
||||
BufferItems: 64,
|
||||
})
|
||||
|
||||
|
@ -55,8 +55,8 @@ func ClearDocsIAL() {
|
|||
}
|
||||
|
||||
var blockIALCache, _ = ristretto.NewCache(&ristretto.Config{
|
||||
NumCounters: 10240,
|
||||
MaxCost: 1024,
|
||||
NumCounters: 102400,
|
||||
MaxCost: 10240,
|
||||
BufferItems: 64,
|
||||
})
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@ func disableCache() {
|
|||
}
|
||||
|
||||
var blockCache, _ = ristretto.NewCache(&ristretto.Config{
|
||||
NumCounters: 10240,
|
||||
MaxCost: 1024,
|
||||
NumCounters: 102400,
|
||||
MaxCost: 10240,
|
||||
BufferItems: 64,
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue