Skip to main content

CACHE_MAX_ENTRIES

Constant CACHE_MAX_ENTRIES 

Source
const CACHE_MAX_ENTRIES: usize = 50_000;
Expand description

Maximum number of wallets to cache. When exceeded, the cache is cleared entirely (simple eviction strategy suitable for this use case since most entries are empty vecs and re-population is cheap).