Skip to content

Commit

Permalink
fix: fixed mongo connection
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLzq committed Dec 12, 2021
1 parent 9b9e9d2 commit 57f8580
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions example/src/network/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ class Server {
this._connection = mongoose.connection
const connection = {
keepAlive: true,
useCreateIndex: true,
useFindAndModify: false,
useNewUrlParser: true,
useUnifiedTopology: true
}
Expand Down
2 changes: 0 additions & 2 deletions lib/src/functions/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,6 @@ class Server {
this._connection = mongoose.connection
const connection = {
keepAlive: true,
useCreateIndex: true,
useFindAndModify: false,
useNewUrlParser: true,
useUnifiedTopology: true
}
Expand Down

0 comments on commit 57f8580

Please sign in to comment.