From 41dc53ea1641b0d149a75d78d242ff252a0dd4e0 Mon Sep 17 00:00:00 2001 From: Arve Knudsen Date: Thu, 29 Dec 2022 15:41:15 +0100 Subject: [PATCH] tsdb: Fix typo in comment Signed-off-by: Arve Knudsen --- tsdb/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/db.go b/tsdb/db.go index 5c402fe389..87e04515cc 100644 --- a/tsdb/db.go +++ b/tsdb/db.go @@ -197,7 +197,7 @@ type Options struct { // If it's 0, the cache will only deduplicate in-flight requests, deleting the results once the first request has finished. HeadPostingsForMatchersCacheTTL time.Duration // HeadPostingsForMatchersCacheSize is the maximum size of cached postings for matchers elements in the Head. - // It's ignored used when HeadPostingsForMatchersCacheTTL is 0. + // It's ignored when HeadPostingsForMatchersCacheTTL is 0. HeadPostingsForMatchersCacheSize int // HeadPostingsForMatchersCacheForce forces the usage of postings for matchers cache for all calls on Head and OOOHead regardless of the `concurrent` param. HeadPostingsForMatchersCacheForce bool