FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

improve(job): store progress with the whole job data · bee-queue/bee-queue@0366801 · GitHub

Commit 0366801

Browse files
committed
improve(job): store progress with the whole job data
1 parent 8248bc1 commit 0366801

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lib/job.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class Job extends Emitter {
3636
data = JSON.parse(data);
3737
const job = new Job(queue, jobId, data.data, data.options);
3838
job.status = data.status;
39+
job.progress = data.progress;
3940
return job;
4041
}
4142

@@ -44,6 +45,7 @@ class Job extends Emitter {
4445
data: this.data,
4546
options: this.options,
4647
status: this.status,
48+
progress: this.progress,
4749
});
4850
}
4951

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL