Skip to content

Commit

Permalink
worker hierarchy - revert unrelated activity logging change
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraff2 committed May 17, 2017
1 parent cd630e3 commit f85293d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/activityLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {

if (tempObj.jobStartTime) {
// time spent from when the job is pulled off the queue to completion
resultObj.workTime = Date.now() - tempObj.jobStartTime;
resultObj.workTime = tempObj.dbEndTime - tempObj.jobStartTime;
}
}

Expand Down

0 comments on commit f85293d

Please sign in to comment.