Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Prefix frontend memcache flags with 'frontend.'
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
  • Loading branch information
tomwilkie committed May 13, 2019
commit 5238d2caf702471b3ed9a3e1a844f2288b41b4c5
2 changes: 1 addition & 1 deletion pkg/querier/frontend/results_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type resultsCacheConfig struct {
}

func (cfg *resultsCacheConfig) RegisterFlags(f *flag.FlagSet) {
cfg.cacheConfig.RegisterFlagsWithPrefix("", "", f)
cfg.cacheConfig.RegisterFlagsWithPrefix("frontend.", "", f)
f.DurationVar(&cfg.MaxCacheFreshness, "frontend.max-cache-freshness", 1*time.Minute, "Most recent allowed cacheable result, to prevent caching very recent results that might still be in flux.")
}

Expand Down