feat: refs #7644 Fix msg print
This commit is contained in:
parent
1a2ed9ce68
commit
8edb115c2b
|
@ -35,8 +35,10 @@ module.exports = {
|
|||
logger.error(`[Print] => ${err.message}`);
|
||||
});
|
||||
|
||||
cluster.on('queue', () =>
|
||||
process.env.SPEC_IS_RUNNING === 'false' && logger.info('Printing task initialized by pool'));
|
||||
cluster.on('queue', () => {
|
||||
if (process.env.SPEC_IS_RUNNING !== 'true')
|
||||
logger.info('Printing task initialized by pool');
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue