Commit f403b191 authored by Kamron Aroonrua's avatar Kamron Aroonrua 💬

new event task

parent 09e4572b
...@@ -53,7 +53,7 @@ JobTask.prototype.stop = function (status) ...@@ -53,7 +53,7 @@ JobTask.prototype.stop = function (status)
this.stats.end_time = (new Date).getTime(); this.stats.end_time = (new Date).getTime();
var dmsg = { var dmsg = {
'job_id':self.jobcfg.job_id, 'job_id':self.jobcfg.job_id,
'transaction_id':self.transaction_id 'transaction_id':self.transaction_id,
'stats':self.stats, 'stats':self.stats,
'result':status 'result':status
} }
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"ioredis": "^2.5.0", "ioredis": "^2.5.0",
"minimist": "^1.2.0", "minimist": "^1.2.0",
"moment": "^2.17.1", "moment": "^2.17.1",
"node-gyp": "^3.6.2",
"node-persist": "^2.0.7", "node-persist": "^2.0.7",
"node-schedule": "^1.2.0", "node-schedule": "^1.2.0",
"node-uuid": "^1.4.7", "node-uuid": "^1.4.7",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment