Skip to content

Commit

Permalink
Update newclient.js
Browse files Browse the repository at this point in the history
  • Loading branch information
VovaStelmashchuk authored Sep 2, 2024
1 parent e71c4c9 commit afdeaeb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion database/newclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const mongoUrl = process.env.DB_URL
const client = new MongoClient(mongoUrl, {
socketTimeoutMS: 10000,
connectTimeoutMS: 10000,
readPreference: 'nearest',
});

client.connect()
Expand Down

0 comments on commit afdeaeb

Please sign in to comment.