diff options
author | Jason Cox <me@jasoncarloscox.com> | 2024-08-07 16:55:22 -0400 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-20 09:29:22 +0200 |
commit | b03750473db672578256cd95b07ba1732e18b06f (patch) | |
tree | e0b01d2ff37d6eec80e58d1eb909f4c4d72017fc /commands/redraw.go | |
parent | fff69046b02f3d9ea0218ff071ba5e4d5b3a3c12 (diff) | |
download | aerc-b03750473db672578256cd95b07ba1732e18b06f.tar.gz |
notmuch: reload all changed messages on DB change
This reverts commit c56649fe5291b725f14b45550a68cc7d0dc16ff7.
As discussed in the aerc-devel thread for the reverted patch, the
performance improvement comes with an issue: changes to message tags are
no longer immediately reflected in the UI. This issue occurs whether the
tags are modified from within aerc or externally with the notmuch CLI.
The message list also flickers any time tag changes are made.
Further, commit c36ed72e4a59 ("notmuch: speed up lastmod query")
dramatically reduces the number of messages which are re-indexed when
the database changes, likely eliminating the need for the reverted
performance improvement anyway.
Fixes: c56649fe5291 ("notmuch: don't reload all message on change")
Link: https://lists.sr.ht/~rjarry/aerc-devel/patches/53729
Link: https://lists.sr.ht/~rjarry/aerc-devel/patches/54028
Reported-by: Robin Dapp <rdapp@modk.org>
Reported-by: Ryan Winograd <ryan@thewinograds.com>
Signed-off-by: Jason Cox <me@jasoncarloscox.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/redraw.go')
0 files changed, 0 insertions, 0 deletions