Skip to content

Commit

Permalink
chore: conditionally read preference
Browse files Browse the repository at this point in the history
  • Loading branch information
ijemmao committed Feb 16, 2023
1 parent c49a4aa commit 4adcf59
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/services/database.js
Expand Up @@ -10,7 +10,6 @@ export const createDbConnection = () => {
useNewUrlParser: true,
useUnifiedTopology: true,
autoIndex: true,
readPreference: 'nearest',
});

console.log('Attempting MongoDB URI:', MONGO_URI);
Expand Down

0 comments on commit 4adcf59

Please sign in to comment.