mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-15 03:52:46 +01:00
added jobsDisabled flag
This commit is contained in:
2
app.js
2
app.js
@@ -157,7 +157,7 @@ function start() {
|
||||
webserver.init();
|
||||
sockets.init(webserver.server);
|
||||
|
||||
if (nconf.get('isPrimary') === 'true') {
|
||||
if (nconf.get('isPrimary') === 'true' && nconf.get('jobsDisabled') !== 'true') {
|
||||
require('./src/notifications').init();
|
||||
require('./src/user').startJobs();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user