Skip to main content

set_running

Function set_running 

Source
pub async fn set_running(
    pool: &SqlitePool,
    camera_id: &str,
    state: &str,
    pid: Option<i64>,
) -> Result<()>
Expand description

Mark the recorder process started: set state, pid, and last_started_at.