9fdc7acf5b
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> |
||
---|---|---|
.. | ||
cache.go | ||
checkmail.go | ||
configure.go | ||
connect.go | ||
create.go | ||
fetch.go | ||
flags.go | ||
idler.go | ||
imap.go | ||
list.go | ||
movecopy.go | ||
observer.go | ||
open.go | ||
remove.go | ||
search.go | ||
seqmap.go | ||
seqmap_test.go | ||
worker.go |