Skip to main content

channel_cache

Function channel_cache 

Source
fn channel_cache<K, V>(name: &str) -> Cache<K, V>
where K: Hash + Eq + Send + Sync + 'static, V: Clone + Send + Sync + 'static,
Expand description

Builds a cache with the shared tuning for both channel caches: 500 entries, TTL 12 hours, TTI 1 hour.