Skip to content

Commit

Permalink
lint/docs
Browse files Browse the repository at this point in the history
Signed-off-by: alanprot <[email protected]>
  • Loading branch information
alanprot committed Jan 7, 2025
1 parent cccb045 commit 3e2e473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/components/store.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ Flags:
--log.format=logfmt Log format to use. Possible options: logfmt or
json.
--log.level=info Log filtering level.
--matcher-cache-size=0 The size of the cache used for matching against
external labels. Using 0 disables caching.
--max-time=9999-12-31T23:59:59Z
End of time range limit to serve. Thanos Store
will serve only blocks, which happened earlier
Expand Down
4 changes: 0 additions & 4 deletions pkg/store/cache/matchers_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ var (

type noopMatcherCache struct{}

func newNoopMatcherCache() MatchersCache {
return &noopMatcherCache{}
}

// GetOrSet implements MatchersCache by always creating a new matcher without caching.
func (n *noopMatcherCache) GetOrSet(_ string, newItem NewItemFunc) (*labels.Matcher, error) {
return newItem()
Expand Down

0 comments on commit 3e2e473

Please sign in to comment.