imap: call delete_expired_imap_messages() less often

This operation takes roughly 0.3 s on a moderate size database.
Calling it once before scanning all folders and scanning
the watched folder instead of each time after downloading
a message from a folder speeds up IMAP loop.
This commit is contained in:
link2xt
2022-01-30 20:48:39 +00:00
parent 7cf4bcaca2
commit 8aa6decbf9
3 changed files with 101 additions and 50 deletions

View File

@@ -13,6 +13,8 @@
### Fixes
- fix splitting off text from webxdc messages #3032
- call slow `delete_expired_imap_messages()` less often #3037
- make synchronization of Seen status more robust in case unsolicited FETCH
result without UID is returned #3022
## 1.72.0