Skip to content

Commit

Permalink
Clarify comment.
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
  • Loading branch information
pstibrany committed Nov 29, 2023
1 parent 6db9aeb commit 9ecc917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/storage/tsdb/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ const (
// DefaultPostingsForMatchersCacheMaxBytes setting puts a limit cap on the per-TSDB head/block max PostingsForMatchers() cache size in bytes.
// This limit is *in addition* to the max size in items (default to 100 items).
//
// This increase is most useful on Mimir clusters with 1 tenant. If the tenant runs very high cardinality
// queries (e.g. a query touching 1M series / ingester) then with the default cache
// This value is most useful on Mimir clusters with 1 tenant. If the tenant runs very high cardinality
// queries (e.g. a query touching 1M series / ingester) then with the previous default cache
// size of 10MB we may not be able to effectively use the cache.
//
// A single cached posting takes about 9 bytes in the cache, on average. The default max cache size as number of items
Expand Down

0 comments on commit 9ecc917

Please sign in to comment.