Bugfixes in sending campaigns
This commit is contained in:
parent
2d667523a1
commit
1448d9e914
34 changed files with 95 additions and 55 deletions
13
index.js
13
index.js
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const config = require('config');
|
||||
const log = require('npmlog');
|
||||
const log = require('./lib/log');
|
||||
const appBuilder = require('./app-builder');
|
||||
const http = require('http');
|
||||
const triggers = require('./services/triggers');
|
||||
|
@ -29,8 +29,6 @@ if (config.title) {
|
|||
process.title = config.title;
|
||||
}
|
||||
|
||||
log.level = config.log.level;
|
||||
|
||||
|
||||
function startHTTPServer(appType, appName, port, callback) {
|
||||
const app = appBuilder.createApp(appType);
|
||||
|
@ -82,6 +80,15 @@ dbcheck(err => { // Check if database needs upgrading before starting the server
|
|||
.then(() => shares.regenerateRoleNamesTable())
|
||||
.then(() => shares.rebuildPermissions())
|
||||
|
||||
/*
|
||||
.then(() =>
|
||||
testServer(() => {
|
||||
senders.spawn(() => {
|
||||
});
|
||||
})
|
||||
);
|
||||
*/
|
||||
|
||||
.then(() =>
|
||||
executor.spawn(() => {
|
||||
testServer(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue