Skip to main content

AUTH_CACHE_DEFAULT_CAPACITY

Constant AUTH_CACHE_DEFAULT_CAPACITY 

Source
pub const AUTH_CACHE_DEFAULT_CAPACITY: usize = 1024;
Expand description

Default maximum number of distinct (access_key, bucket, method) entries held in the authorization cache. Once the limit is reached the least-recently-used entry is evicted automatically — no background sweep task needed.