Skip to main content

warm_cache

Function warm_cache 

Source
pub async fn warm_cache() -> Result<()>
Expand description

Pre-populate the config cache using async I/O.

Call once at engine startup so subsequent synchronous get / get_list calls always hit the in-memory cache and never block a Tokio thread with std::fs::read_to_string.