Skip to content

Commit 58deb49

Browse files
committed
Remove runAt property as it is not used
1 parent e4d54e9 commit 58deb49

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

batch/scheduler/scheduler.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ function TaskEntity(user, createdAt) {
180180
this.createdAt = createdAt;
181181
this.status = STATUS.PENDING;
182182
this.jobs = 0;
183-
this.runAt = 0;
184183
}
185184

186185
TaskEntity.prototype.is = function(status) {
@@ -189,7 +188,6 @@ TaskEntity.prototype.is = function(status) {
189188

190189
TaskEntity.prototype.running = function() {
191190
this.status = STATUS.RUNNING;
192-
this.runAt = Date.now();
193191
};
194192

195193
TaskEntity.prototype.ran = function(userQueueIsEmpty) {

0 commit comments

Comments
 (0)