Skip to content

Commit

Permalink
fix deprecated mongodb connection style
Browse files Browse the repository at this point in the history
  • Loading branch information
KharitonOff committed Aug 7, 2020
1 parent 7525e7d commit 123a489
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ async.series([
(callback) => {
retryInitializeMongoose(config.server.mongodb.uri, {
useNewUrlParser: true,
useUnifiedTopology: true,
keepAlive: true
}, () => {
bootstrap('documents', callback);
Expand Down

0 comments on commit 123a489

Please sign in to comment.