fix: initialize the avgcachestatus
All checks were successful
Release / Build versioned release (push) Successful in 14s

This commit is contained in:
2025-01-21 20:20:48 -06:00
parent 9d0f4894e1
commit c370e80888

View File

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