Skip to content

Commit

Permalink
Fix TestSeriesHashCache_MeasureApproximateSizePerEntry
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
  • Loading branch information
colega committed Jun 17, 2024
1 parent 6af02ae commit 6c55dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsdb/hashcache/series_hash_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const (

// approxBytesPerEntry is the estimated memory footprint (in bytes) of 1 cache
// entry, measured with TestSeriesHashCache_MeasureApproximateSizePerEntry().
approxBytesPerEntry = 50
approxBytesPerEntry = 28
)

// SeriesHashCache is a bounded cache mapping the per-block series ID with
Expand Down

0 comments on commit 6c55dbd

Please sign in to comment.