TASK_IS_STOPPING

This commit is contained in:
Luis Fernando Molina committed 2020-11-28 09:43:14 +01:00
1 parent 58c58b706d
commit a57374783a
17 files changed
+47 -31

No files matched your search

+1 -1
View File
@@ -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.