Skip to content

Commit ba0450f

Browse files
committed
Get rid of even newer deprecation errors.
1 parent 730f243 commit ba0450f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

common/services/mongoose.service.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ let count = 0;
33

44
const options = {
55
autoIndex: false, // Don't build indexes
6-
reconnectTries: 30, // Retry up to 30 times
7-
reconnectInterval: 500, // Reconnect every 500ms
86
poolSize: 10, // Maintain up to 10 socket connections
97
// If not connected, return errors immediately rather than waiting for reconnect
108
bufferMaxEntries: 0,
11-
//geting rid off the depreciation errors
9+
// all other approaches are now deprecated by MongoDB:
1210
useNewUrlParser: true,
1311
useUnifiedTopology: true
1412

0 commit comments

Comments
 (0)