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