Skip to main content

spawn_stats_flusher

Function spawn_stats_flusher 

Source
pub fn spawn_stats_flusher(stats: &ConnectionStatsAggregator)
Expand description

Spawn background task to periodically flush connection stats

Flushes every 30 seconds to ensure metrics are up-to-date.