set_ttl

Function set_ttl 

Source
pub fn set_ttl(_ttl: Duration)
Expand description

Sets the TTL for new cache entries (does not affect existing entries)