Skip to main content

start_upkeep_task

Function start_upkeep_task 

Source
pub fn start_upkeep_task()
Expand description

Start the background upkeep task for Prometheus metrics.

This must be called from within a tokio runtime context. It’s safe to call multiple times - only the first call spawns the task.