Skip to main content

DEFAULT_AUDIENCE_CACHE_ENTRIES

Constant DEFAULT_AUDIENCE_CACHE_ENTRIES 

Source
pub const DEFAULT_AUDIENCE_CACHE_ENTRIES: u64 = 100_000; // 100_000u64
Expand description

Default entry-count bound for AudienceIndex’s cache – see super::lakehouse_context. One Uuid + a short audience string is roughly 100 bytes, so 100k entries is ~10 MB: a fixed shape with no operational knob, mirroring analytics-web-srv/src/data_source_cache.rs’s hardcoded .max_capacity(1000) rather than MICROMEGAS_METADATA_CACHE_MB’s per-entry-weight variability.