missed one

This commit is contained in:
ClaraCrazy 2025-12-12 19:42:46 +01:00
parent 0ad3e40fcc
commit 7d956f7d89
No known key found for this signature in database
GPG key ID: EBBC896ACB497011
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ class ImapService extends EventEmitter {
this.connection.on('error', err => { this.connection.on('error', err => {
// We assume that the app will be restarted after a crash. // We assume that the app will be restarted after a crash.
console.error('got fatal error during imap operation, stop app.', err) console.error('Got fatal error during imap operation, stop app.', err)
this.emit('error', err) this.emit('error', err)
}) })

View file

@ -27,7 +27,7 @@ class MailProcessingService extends EventEmitter {
this._deleteOldMails() this._deleteOldMails()
) )
console.log(`Running old mail deletion every ${this.config.imap.refreshIntervalSeconds} seconds`) console.log(`Fetching and deleting mails every ${this.config.imap.refreshIntervalSeconds} seconds`)
setInterval(() => { setInterval(() => {
this._deleteOldMails() this._deleteOldMails()