enable task manager in dev mode

This commit is contained in:
lesion 2023-03-20 12:53:41 +01:00
parent 02f138e0f2
commit 2ffd2aff82
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -60,7 +60,7 @@ const initialize = {
dayjs.tz.setDefault(settingsController.settings.instance_timezone)
let TaskManager
if (config.status === 'READY' && process.env.NODE_ENV == 'production') {
if (config.status === 'READY') {// && process.env.NODE_ENV == 'production') {
TaskManager = require('../server/taskManager').TaskManager
TaskManager.start()
}