From 35c5c5dd0fcca45a79ddb3382230a82091adba88 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Fri, 29 Jun 2018 23:04:31 -0600 Subject: [PATCH] Init ArchiveUtil with noWatch --- core/oputil/oputil_common.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/oputil/oputil_common.js b/core/oputil/oputil_common.js index 13f9ec91..90328b07 100644 --- a/core/oputil/oputil_common.js +++ b/core/oputil/oputil_common.js @@ -67,6 +67,11 @@ function initConfigAndDatabases(cb) { function initDb(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 => { return cb(err);