TASK_IS_STOPPING
This commit is contained in:
1 parent
58c58b706d
commit
a57374783a
17 files changed
+47
-31
No files matched your search
@@ -40,7 +40,7 @@ exports.newNodeJsProcess = function newNodeJsProcess() {
|
||||
process.on('message', message => {
|
||||
if (message === 'Stop this Task') {
|
||||
|
||||
global.STOP_TASK_GRACEFULLY = true;
|
||||
TS.projects.superalgos.globals.taskVariables.IS_TASK_STOPPING = true;
|
||||
|
||||
/*
|
||||
There are some process that might no be able to end grafully, for example the ones schedulle to process information in a future day or month.
|
||||
|
||||
Reference in new issue
Block a user