pub fn record_prover_is_working(&self, job_id: i32) -> QueryResult<()> {
        use crate::schema::prover_runs::dsl::*;

        let target = prover_runs.filter(id.eq(job_id));
        diesel::update(target)
            .set(updated_at.eq(now))
            .execute(self.0.conn())
            .map(|_| ())
    }
/// Updates the state of ongoing prover job.
Updates the state of ongoing prover job.
Updates the state of ongoing prover job .
pub fn record_prover_is_working(&self, job_id: i32) -> QueryResult<()> {
        use crate::schema::prover_runs::dsl::*;
        let target = prover_runs.filter(id.eq(job_id));
        diesel::update(target)
            .set(updated_at.eq(now))
            .execute(self.0.conn())
            .map(|_| ())
    }
pub fn record_prover_is_working ( & self , job_id : i32 ) -> QueryResult < ( ) > { use crate :: schema :: prover_runs :: dsl :: * ; let target = prover_runs . filter ( id . eq ( job_id ) ) ; diesel :: update ( target ) . set ( updated_at . eq ( now ) ) . execute ( self . 0 . conn ( ) ) . map ( | _ | ( ) ) }
Updates the state of ongoing prover job.
Updates the state of ongoing prover job .
&self
job_id
i32