Skip to content

Commit

Permalink
Remove deprecated options #291
Browse files Browse the repository at this point in the history
  • Loading branch information
electerious committed Sep 18, 2021
1 parent a21679a commit 82d0d7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
const mongoose = require('mongoose')

module.exports = (dbUrl) => mongoose.connect(dbUrl, {
useNewUrlParser: true,
useUnifiedTopology: true,
connectTimeoutMS: 60000,
})

0 comments on commit 82d0d7e

Please sign in to comment.