mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-08 17:07:44 +08:00
prefer secondary for searching
This commit is contained in:
parent
9bd34588c4
commit
ead481c2bd
1 changed files with 1 additions and 0 deletions
|
@ -359,6 +359,7 @@ module.exports = server => (mailbox, options, session, callback) => {
|
|||
uid: true,
|
||||
modseq: true
|
||||
})
|
||||
.setReadPreference('secondaryPreferred')
|
||||
.maxTimeMS(consts.DB_MAX_TIME_MESSAGES);
|
||||
|
||||
let highestModseq = 0;
|
||||
|
|
Loading…
Reference in a new issue