Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
node-bigstream
Commits
018199a3
Commit
018199a3
authored
Apr 11, 2020
by
Kamron Aroonrua
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jobtask
parent
152f6d53
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
jobtask.js
jobworker/lib/jobtask.js
+3
-1
No files found.
jobworker/lib/jobtask.js
View file @
018199a3
...
...
@@ -213,13 +213,15 @@ JobTask.prototype.run = function ()
async
.
waterfall
([
task_di
,
task_dt
,
task_do
],
function
(
err
,
resp
)
{
clearTimeout
(
jtimeout
);
console
.
log
(
'[JOB DONE] id='
+
job_id
+
' ,tr='
+
transaction_id
+
'
\
t'
+
resp
.
status
);
//
console.log('[JOB DONE] id=' + job_id + ' ,tr=' + transaction_id + '\t' + resp.status);
if
(
!
err
){
self
.
stop
(
resp
)
// console.log('***** JOB SUCCESSFULLY DONE *****\n');
console
.
log
(
'[JOB DONE] id='
+
job_id
+
' ,tr='
+
transaction_id
+
'
\
tsuccess'
);
}
else
{
self
.
stop
(
err
)
// console.log('***** JOB UNSUCCESSFULLY DONE *****\n');
console
.
log
(
'[JOB DONE] id='
+
job_id
+
' ,tr='
+
transaction_id
+
'
\
tunsuccess'
);
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment