fix: increase hits buffer size in AvgCacheState initialization
All checks were successful
Release / Build versioned release (push) Successful in 8s
All checks were successful
Release / Build versioned release (push) Successful in 8s
This commit is contained in:
@@ -70,7 +70,7 @@ func New(address string, memorySize string, memoryMultiplier int, diskSize strin
|
|||||||
memory: m,
|
memory: m,
|
||||||
disk: d,
|
disk: d,
|
||||||
|
|
||||||
hits: avgcachestate.New(100),
|
hits: avgcachestate.New(10000),
|
||||||
}
|
}
|
||||||
|
|
||||||
if d.Size() > d.Capacity() {
|
if d.Size() > d.Capacity() {
|
||||||
|
|||||||
Reference in New Issue
Block a user