Skip to main content

record_write

Function record_write 

Source
pub async fn record_write(
    conn: &mut PgConnection,
    id: Uuid,
) -> ModelResult<AgentChangeset>
Expand description

Records a write to an open changeset the caller has locked with get_by_id_for_update: increments its revision and pushes its expiry to LIFETIME_AFTER_LAST_WRITE_DAYS from now.