Skip to content

Commit

Permalink
Merge 86420c5 into 2b43d7a
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomecakex committed Jan 11, 2024
2 parents 2b43d7a + 86420c5 commit d50cb05
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/MongoDB/Jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,17 @@ class Jobs extends Collection {
return job;
}

async updatePdIntervalTimestamp(jobId) {
const pdIntervalTimestamp = Date.now();
await super.patch({
query: { jobId },
handleUpdate: () => {
return { pdIntervalTimestamp };
}

});
}

async updatePipeline(job) {
const { jobId, ...data } = job;
await super.patch({
Expand Down

0 comments on commit d50cb05

Please sign in to comment.