mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2025-12-14 13:56:32 +01:00
missed one
This commit is contained in:
parent
0ad3e40fcc
commit
7d956f7d89
2 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ class ImapService extends EventEmitter {
|
|||
|
||||
this.connection.on('error', err => {
|
||||
// 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)
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class MailProcessingService extends EventEmitter {
|
|||
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(() => {
|
||||
this._deleteOldMails()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue