Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
asabhaney committed Jan 9, 2020
1 parent 373c5bf commit e14c25d
Show file tree
Hide file tree
Showing 3 changed files with 542 additions and 77 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ module.exports = function adapter(uriArg, optionsArg = {}) {
const collectionSize = options.collectionSize || 100000 // 100KB
const mongoose = options.mongoose || new Mongoose()
if (!options.mongoose && uri) {
mongoose.connect(uri, {useNewUrlParser: true, useUnifiedTopology: true})
mongoose.connect(uri, { useNewUrlParser: true, useUnifiedTopology: true })
}

// mongoose.set('debug', true)
Expand Down
Loading

0 comments on commit e14c25d

Please sign in to comment.