mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-31 04:33:09 +08:00
use a delay when deleting
This commit is contained in:
parent
3a48be036b
commit
1f7537ee05
1 changed files with 1 additions and 1 deletions
2
imap.js
2
imap.js
|
@ -2066,7 +2066,7 @@ function clearExpiredMessages() {
|
|||
return cursor.close(() => done(err));
|
||||
}
|
||||
deleted++;
|
||||
processNext();
|
||||
setTimeout(processNext, 100);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue