Skip to main content

spawn_series_index_tasks

Function spawn_series_index_tasks 

Source
pub(crate) fn spawn_series_index_tasks(
    worker_id: u32,
    store: ObjectStore,
    state: Arc<SeriesIndexTaskState>,
    purge_receiver: UnboundedReceiver<PurgeRequest>,
    interval: Duration,
) -> JoinHandle<()>
Expand description

Starts both tasks, detaching purge and returning the maintenance handle.