Init ArchiveUtil with noWatch

This commit is contained in:
Bryan Ashby 2018-06-29 23:04:31 -06:00
parent 2cef12f47e
commit 35c5c5dd0f
1 changed files with 5 additions and 0 deletions

View File

@ -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);