aerc/worker
Tim Culverhouse 9fdc7acf5b cache: fetch flags from UI
When cached headers are fetched, an action is posted back to the Worker
to immediately fetch the flags for the message from the server (we can't
know the flags state, therefore it's not cached). When scrolling, a lag
occurs when loading cached headers because the n+1 message has to wait
for the flag request to return before the cached headers are retrieved.

Collect the message UIDs in the UI that need flags, and fetch them based
off a debounce timer in a single request. Post the action from the UI to
eliminate an (ugly) go routine in the worker.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-09-20 21:10:35 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap cache: fetch flags from UI 2022-09-20 21:10:35 +02:00
lib parse: remove trailing whitespace from rfc1123z regex 2022-08-22 15:46:56 +02:00
maildir maildir: do not send dircontents on fs event 2022-08-30 21:42:37 +02:00
mbox mbox: implement MoveMessages handling 2022-08-22 15:46:52 +02:00
notmuch notmuch: fix regression in error handling 2022-09-01 10:05:35 +02:00
types cache: fetch flags from UI 2022-09-20 21:10:35 +02:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
worker_enabled.go mbox: implement an mbox backend worker 2022-07-14 23:14:45 +02:00