pub fn reorder_pending(
conn: &Connection,
job_id: &str,
priority: i32,
) -> Result<bool>Expand description
Atomically update the priority of a pending job.
Returns Ok(true) if the job was updated, Ok(false) if the job exists but
is not pending, or Err with a not-found message if the job doesn’t exist.