diff --git a/services/track-changes/app/js/PackWorker.js b/services/track-changes/app/js/PackWorker.js index e6a02fef3d..c0784f097f 100644 --- a/services/track-changes/app/js/PackWorker.js +++ b/services/track-changes/app/js/PackWorker.js @@ -78,18 +78,6 @@ logger.log( `checking for updates, limit=${LIMIT}, delay=${DOCUMENT_PACK_DELAY}, timeout=${TIMEOUT}` ) -// work around for https://github.com/mafintosh/mongojs/issues/224 -db.close = function (callback) { - return this._getServer(function (err, server) { - if (err != null) { - return callback(err) - } - server = server.destroy != null ? server : server.topology - server.destroy(true, true) - return callback() - }) -} - const finish = function () { if (shutDownTimer != null) { logger.log('cancelling timeout')