refactor: refs #7644 Optimized barcode #2819

Open
guillermo wants to merge 7 commits from 7644-optimizedBarcode into master
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 8edb115c2b - Show all commits

View File

@ -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');
});
});
}
};