Skip to content

Commit

Permalink
chore(server): fix database connect string (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
HUAHUAI23 authored Jul 11, 2024
1 parent d1c2629 commit 28a2c2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export class DedicatedDatabaseService {
options: {
authSource: 'admin',
replicaSet: `${name}-mongodb`,
readPreference: 'secondaryPreferred',
// readPreference: 'secondaryPreferred',
w: 'majority',
},
scheme: 'mongodb',
Expand Down

0 comments on commit 28a2c2c

Please sign in to comment.