From ca0da61a69eee2fb360a8d953fb92bc5fc354a57 Mon Sep 17 00:00:00 2001 From: Joe Fleming Date: Thu, 19 May 2016 14:11:52 -0700 Subject: [PATCH] default created_by to false --- src/job.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/job.js b/src/job.js index 6b44cd1..78830dd 100644 --- a/src/job.js +++ b/src/job.js @@ -20,7 +20,7 @@ export default class Job extends events.EventEmitter { this.index = index; this.jobtype = type; this.payload = payload; - this.created_by = options.created_by || null; + this.created_by = options.created_by || false; this.timeout = options.timeout || 10000; this.maxAttempts = options.max_attempts || 3; this.priority = Math.max(Math.min(options.priority || 10, 20), -20);