From f6dffb81cb41e1949c8458b49dfb688f1a8b745a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Thu, 27 Oct 2016 16:55:41 +0200 Subject: [PATCH] Use default name --- batch/batch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/batch.js b/batch/batch.js index 0a898d2e..067b129a 100644 --- a/batch/batch.js +++ b/batch/batch.js @@ -17,7 +17,7 @@ function Batch(name, jobSubscriber, jobQueue, jobRunner, jobService, jobPublishe this.jobService = jobService; this.jobPublisher = jobPublisher; this.logger = logger; - this.hostScheduler = new HostScheduler(name, { run: this.processJob.bind(this) }, redisPool); + this.hostScheduler = new HostScheduler(this.name, { run: this.processJob.bind(this) }, redisPool); // map: user => jobId. Will be used for draining jobs. this.workInProgressJobs = {};