From 58deb499725757b39e5a470d0d9e50b619e6e6b3 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Thu, 20 Oct 2016 23:45:30 +0200 Subject: [PATCH] Remove runAt property as it is not used --- batch/scheduler/scheduler.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/batch/scheduler/scheduler.js b/batch/scheduler/scheduler.js index a7c8ae17..243c63c1 100644 --- a/batch/scheduler/scheduler.js +++ b/batch/scheduler/scheduler.js @@ -180,7 +180,6 @@ function TaskEntity(user, createdAt) { this.createdAt = createdAt; this.status = STATUS.PENDING; this.jobs = 0; - this.runAt = 0; } TaskEntity.prototype.is = function(status) { @@ -189,7 +188,6 @@ TaskEntity.prototype.is = function(status) { TaskEntity.prototype.running = function() { this.status = STATUS.RUNNING; - this.runAt = Date.now(); }; TaskEntity.prototype.ran = function(userQueueIsEmpty) {