Fixes in reports (generating a CSV).

Added caching of generated images in mosaico handler.
Various other fixes.
This commit is contained in:
Tomas Bures 2019-04-22 02:41:40 +02:00
parent 055c4c6b51
commit 66702b5edc
39 changed files with 545 additions and 278 deletions

View file

@ -3,17 +3,12 @@
const fork = require('child_process').fork;
const log = require('./log');
const path = require('path');
const bluebird = require('bluebird');
const requestCallbacks = {};
let messageTid = 0;
let executorProcess;
module.exports = {
spawn,
start,
stop
};
function spawn(callback) {
log.verbose('Executor', 'Spawning executor process');
@ -81,3 +76,6 @@ function stop(tid) {
});
}
module.exports.spawn = bluebird.promisify(spawn);
module.exports.start = start;
module.exports.stop = stop;