Skip to main content

set_cache_speed_mode

Function set_cache_speed_mode 

Source
pub fn set_cache_speed_mode(mode: CacheSpeedMode)
Expand description

Set the process-global cache batch-fetch speed profile.

This mutates a single static shared by every cache in the process, so it affects all in-flight and future batch fetches, not just one EvmCache. Read the current value with cache_speed_mode.