Init ArchiveUtil with noWatch
This commit is contained in:
parent
2cef12f47e
commit
35c5c5dd0f
|
@ -67,6 +67,11 @@ function initConfigAndDatabases(cb) {
|
||||||
function initDb(callback) {
|
function initDb(callback) {
|
||||||
db.initializeDatabases(callback);
|
db.initializeDatabases(callback);
|
||||||
},
|
},
|
||||||
|
function initArchiveUtil(callback) {
|
||||||
|
// ensure we init ArchiveUtil without events
|
||||||
|
require('../../core/archive_util').getInstance(true); // true=noWatch
|
||||||
|
return callback(null);
|
||||||
|
}
|
||||||
],
|
],
|
||||||
err => {
|
err => {
|
||||||
return cb(err);
|
return cb(err);
|
||||||
|
|
Loading…
Reference in New Issue