Skip to main content

inc_session_affinity_hit

Function inc_session_affinity_hit 

Source
pub fn inc_session_affinity_hit()
Expand description

Increment the session affinity hit counter.

Call when a request is successfully routed to its preferred affinity shard.

No-op if metrics have not been initialised.

ยงPanics

This function never panics.