From 5eaaad5a5dcfd9ef6b3d8dd24e40a745e820d47c Mon Sep 17 00:00:00 2001 From: ClaraCrazy Date: Tue, 1 Oct 2024 17:16:36 +0200 Subject: [PATCH] shorter interval for purge operations --- application/mail-processing-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/mail-processing-service.js b/application/mail-processing-service.js index 1bdf750..9d5a2e4 100644 --- a/application/mail-processing-service.js +++ b/application/mail-processing-service.js @@ -24,7 +24,7 @@ class MailProcessingService extends EventEmitter { this.imapService.once(ImapService.EVENT_INITIAL_LOAD_DONE, () => this._deleteOldMails() ) - setInterval(() => this._deleteOldMails(), 1000 * 3600 * 6) + setInterval(() => this._deleteOldMails(), 10 * 60 * 1000) } getMailSummaries(address) {