b92efe4cd9
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> |
||
---|---|---|
.. | ||
handlers | ||
imap | ||
lib | ||
maildir | ||
notmuch | ||
types | ||
handler_notmuch.go | ||
worker.go | ||
worker_enabled.go |