aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/jobs/job-scheduler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/jobs/job-scheduler.ts')
-rw-r--r--server/lib/jobs/job-scheduler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/jobs/job-scheduler.ts b/server/lib/jobs/job-scheduler.ts
index 134d270c0..c2409d20c 100644
--- a/server/lib/jobs/job-scheduler.ts
+++ b/server/lib/jobs/job-scheduler.ts
@@ -87,7 +87,7 @@ class JobScheduler {
87 job.state = JOB_STATES.PROCESSING 87 job.state = JOB_STATES.PROCESSING
88 return job.save() 88 return job.save()
89 .then(() => { 89 .then(() => {
90 return jobHandler.process(job.handlerInputData) 90 return jobHandler.process(job.handlerInputData, job.id)
91 }) 91 })
92 .then( 92 .then(
93 result => { 93 result => {