jobs disabled is boolean, great

v1.18.x
barisusakli 10 years ago
parent 1a34327f9d
commit 2423bd18eb

@ -157,7 +157,7 @@ function start() {
webserver.init(); webserver.init();
sockets.init(webserver.server); sockets.init(webserver.server);
if (nconf.get('isPrimary') === 'true' && nconf.get('jobsDisabled') !== 'true') { if (nconf.get('isPrimary') === 'true' && !nconf.get('jobsDisabled')) {
require('./src/notifications').init(); require('./src/notifications').init();
require('./src/user').startJobs(); require('./src/user').startJobs();
} }

Loading…
Cancel
Save