mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2025-12-14 13:56:32 +01:00
small autism fix
This commit is contained in:
parent
559c9bc9e5
commit
b5a8efa439
1 changed files with 1 additions and 2 deletions
|
|
@ -27,8 +27,6 @@ class MailProcessingService extends EventEmitter {
|
|||
this._deleteOldMails()
|
||||
)
|
||||
|
||||
console.log(`Fetching and deleting mails every ${this.config.imap.refreshIntervalSeconds} seconds`)
|
||||
|
||||
setInterval(() => {
|
||||
this._deleteOldMails()
|
||||
}, this.config.imap.refreshIntervalSeconds * 1000)
|
||||
|
|
@ -55,6 +53,7 @@ class MailProcessingService extends EventEmitter {
|
|||
onInitialLoadDone() {
|
||||
this.initialLoadDone = true
|
||||
console.log(`Initial load done, got ${this.mailRepository.mailCount()} mails`)
|
||||
console.log(`Fetching and deleting mails every ${this.config.imap.refreshIntervalSeconds} seconds`)
|
||||
}
|
||||
|
||||
onNewMail(mail) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue