docs: clarify default maxes for distinct cache (#26281)

pull/26283/head
peterbarnett03 2025-04-16 15:29:30 -04:00 committed by GitHub
parent e4cfbf71f7
commit 2ceed952b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -200,11 +200,11 @@ pub struct DistinctCacheConfig {
columns: Vec<String>,
/// The maximum number of distinct value combinations to hold in the cache
#[clap(long = "max-cardinality")]
#[clap(long = "max-cardinality", default_value = "100000")]
max_cardinality: Option<NonZeroUsize>,
/// The maximum age of an entry in the cache entered as a human-readable duration, e.g., "30d", "24h"
#[clap(long = "max-age")]
#[clap(long = "max-age", default_value = "1d")]
max_age: Option<humantime::Duration>,
/// Give the name of the cache.