spawn_drain_only_writer

Function spawn_drain_only_writer 

Source
fn spawn_drain_only_writer(
    rx: Receiver<EventLogEntry>,
    shutdown: ShutdownToken,
) -> JoinHandle<()>
Expand description

Fallback writer when CP runs in in-memory mode (no db_path flag). Just drains entries silently so the channel never fills up. Production paths always configure a DB.