Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
  • Loading branch information
CabinfeverB committed Jan 31, 2024
1 parent ee1b2a1 commit 4b60354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func calcStrsMemUsage(strs map[string]strHandleVal) int64 {
return res
}

func calcIntsMemUsage(ints map[int64]interface{}) int64 {
func calcIntsMemUsage(ints map[int64]any) int64 {
return int64(len(ints)) * (size.SizeOfInt64 + size.SizeOfInterface)
}

Expand Down

0 comments on commit 4b60354

Please sign in to comment.