aerc/worker/imap
Koni Marti b92efe4cd9 imap: add debouncer to the idler
Add a debouncer to the idle mode. Avoid unnecessary idling when another
job arrives within a certain time frame.

For example, the ui sends three messages to the worker at the same time
when we open a message (FlagMessage, FetchMessageBodyPart, and the
FetchMessageHeaders). The debouncer prevents the unnecessary entering
and leaving of the idle mode between those messages.

Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-05-04 14:07:15 +02:00
..
configure.go imap: add debouncer to the idler 2022-05-04 14:07:15 +02:00
create.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
fetch.go imap: avoid crash when replying to unread message 2022-04-28 17:55:57 +02:00
flags.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
idler.go imap: add debouncer to the idler 2022-05-04 14:07:15 +02:00
imap.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
list.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
movecopy.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
observer.go imap: monitor the logout channel with an observer 2022-05-04 14:07:15 +02:00
open.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
remove.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
search.go Add flag based search options 2020-07-25 08:08:08 +02:00
worker.go imap: add debouncer to the idler 2022-05-04 14:07:15 +02:00