aerc/worker
Robin Jarry 622802d3a5 maildir: defer the count of recent messages
Since commit 01c96e78df ("Update DirectoryInfo handling for maildir"),
flags are checked for every message of a folder when entering it.
Iterating over all messages of a folder takes a long time for large
collections of emails.

Only count the number of messages and state that the directory info
counts are not accurate. Defer the parsing of message flags in
a goroutine to have a more responsive UI.

Fixes: https://todo.sr.ht/~rjarry/aerc/16
Suggested-by: Koni Marti <koni.marti@gmail.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-01-30 20:49:30 +01:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap: auto-reconnects on connection error 2022-01-19 17:40:52 +01:00
lib maildir,notmuch: avoid leaking open files 2022-01-19 20:18:00 +01:00
maildir maildir: defer the count of recent messages 2022-01-30 20:49:30 +01:00
notmuch maildir,notmuch: pass in-memory message to callback 2022-01-20 15:44:46 +01:00
types imap: auto-reconnects on connection error 2022-01-19 17:40:52 +01:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
worker_enabled.go go.mod: change base git url 2021-11-05 10:21:45 +01:00