fix: increase hits buffer size in AvgCacheState initialization

This commit is contained in:
2025-01-22 00:02:11 -06:00
parent 0ca2a9eeed
commit d49c4e1799

View File

@@ -70,7 +70,7 @@ func New(address string, memorySize string, memoryMultiplier int, diskSize strin
memory: m,
disk: d,
hits: avgcachestate.New(100),
hits: avgcachestate.New(10000),
}
if d.Size() > d.Capacity() {