Skip to main content

inc_cache_hit

Function inc_cache_hit 

Source
pub fn inc_cache_hit()
Expand description

Increment the cache hit counter.

Call when the response cache returns a cached value.

No-op if metrics have not been initialised.

ยงPanics

This function never panics.