Skip to main content

spawn

Function spawn 

Source
pub fn spawn(
    driver: Arc<dyn CheckpointDriver>,
    config: CheckpointConfig,
) -> CheckpointerHandle
Expand description

Spawn the checkpointer thread. Wakes on a 1-second cadence to check both the timeout and the WAL byte threshold; runs a checkpoint as soon as either trips.