From e077442340df4d94c005160d4107fd772f85fdfd Mon Sep 17 00:00:00 2001 From: Joe Fleming Date: Tue, 10 May 2016 16:57:40 -0700 Subject: [PATCH] add debugging on job timeout --- src/worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/worker.js b/src/worker.js index 98b3346..64c6994 100644 --- a/src/worker.js +++ b/src/worker.js @@ -119,6 +119,7 @@ export default class Job extends events.EventEmitter { resolve(this.workerFn.call(null, job._source.payload)); setTimeout(function () { + this.debug(`Timeout processing job ${job._id}`); reject(new WorkerTimeoutError({ timeout: job._source.timeout, jobId: job._id,