Skip to content

Commit 1f24ef0

Browse files
nipunn1313Convex, Inc.
authored and
Convex, Inc.
committed
Add a db-verifier for the cron next runs table. (#36147)
Add a db-verifier for the cron next runs table. Fix bug found by verifier GitOrigin-RevId: 4c67333153f9ab4c33509da55a6778ddab925be3
1 parent cd66f7c commit 1f24ef0

File tree

1 file changed

+1
-1
lines changed
  • crates/model/src/cron_jobs

1 file changed

+1
-1
lines changed

crates/model/src/cron_jobs/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ impl<'a, RT: Runtime> CronModel<'a, RT> {
337337
let next_run = CronNextRun {
338338
cron_job_id: id.developer_id,
339339
state: job.state,
340-
prev_ts: None,
340+
prev_ts: job.prev_ts,
341341
next_ts: job.next_ts,
342342
};
343343
let existing_next_run = self.next_run(id.developer_id).await?;

0 commit comments

Comments
 (0)