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

@ -4,15 +4,11 @@ const fork = require('child_process').fork;
const log = require('./log');
const path = require('path');
const senders = require('./senders');
const bluebird = require('bluebird');
let messageTid = 0;
let feedcheckProcess;
module.exports = {
spawn,
scheduleCheck
};
function spawn(callback) {
log.verbose('Feed', 'Spawning feedcheck process');
@ -46,3 +42,5 @@ function scheduleCheck() {
messageTid++;
}
module.exports.spawn = bluebird.promisify(spawn);
module.exports.scheduleCheck = scheduleCheck;