Fixes in reports (generating a CSV).
Added caching of generated images in mosaico handler. Various other fixes.
This commit is contained in:
parent
055c4c6b51
commit
66702b5edc
39 changed files with 545 additions and 278 deletions
|
@ -7,15 +7,11 @@ const path = require('path');
|
|||
const {ImportStatus, RunStatus} = require('../../shared/imports');
|
||||
const {ListActivityType} = require('../../shared/activity-log');
|
||||
const activityLog = require('./activity-log');
|
||||
const bluebird = require('bluebird');
|
||||
|
||||
let messageTid = 0;
|
||||
let importerProcess;
|
||||
|
||||
module.exports = {
|
||||
spawn,
|
||||
scheduleCheck
|
||||
};
|
||||
|
||||
function spawn(callback) {
|
||||
log.verbose('Importer', 'Spawning importer process');
|
||||
|
||||
|
@ -65,4 +61,5 @@ function scheduleCheck() {
|
|||
messageTid++;
|
||||
}
|
||||
|
||||
|
||||
module.exports.spawn = bluebird.promisify(spawn);
|
||||
module.exports.scheduleCheck = scheduleCheck;
|
Loading…
Add table
Add a link
Reference in a new issue