diff options
author | Robin Jarry <robin@jarry.cc> | 2022-01-28 13:23:25 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-01-30 20:49:30 +0100 |
commit | 622802d3a5ea980b2d08ffec91497b57d3bae7f4 (patch) | |
tree | 4512146b5a94e8a1749d79f15504d5f07afef8ec /go.mod | |
parent | a5c046efe3af8f1b3c94c9d83c214c77fa9f6697 (diff) | |
download | aerc-622802d3a5ea980b2d08ffec91497b57d3bae7f4.tar.gz |
maildir: defer the count of recent messages
Since commit 01c96e78dfe8 ("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>
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions