diff --git a/imap.js b/imap.js index 09ec61d0..1c3b3a31 100644 --- a/imap.js +++ b/imap.js @@ -2066,7 +2066,7 @@ function clearExpiredMessages() { return cursor.close(() => done(err)); } deleted++; - processNext(); + setTimeout(processNext, 100); } ); });