fix: initialize the avgcachestatus
All checks were successful
Release / Build versioned release (push) Successful in 14s
All checks were successful
Release / Build versioned release (push) Successful in 14s
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user