aerc/lib
Tim Culverhouse 04097e8743 msgstore: do not build threads when threaded view is off
Commit 3a614e45fc ("threading: enable toggle-threads for server-side
threads") changed the behavior of the msgstore.buildThreads variable to
reflect whether the client needs to build threads or the server will.
However, a call to runThreadbuilder was not updated with an extra
conditional. As a result, threads were built regardless of the state of
the threadedView resulting in a large performance penalty for
non-threaded views with client side threading.

Only run thread builder if threaded view is enabled.

Fixes: 3a614e45fc ("threading: enable toggle-threads for server-side threads")
Reported-by: akspecs <akspecs@gmail.com>
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Akspecs <akspecs@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-07-17 18:35:21 +02:00
..
auth msgviewer: parse and display authentication results 2022-06-09 09:42:23 +02:00
calendar calendar: fix go vet error 2022-06-24 21:08:21 +02:00
crypto gpg: fix panic when signing an unparsable message 2022-07-02 18:36:40 +02:00
format dirlist: add format specifier to compact folder name 2022-04-29 13:41:38 +02:00
parse msgviewer: open http links from messages 2022-06-14 22:12:48 +02:00
sort go.mod: change base git url 2021-11-05 10:21:45 +01:00
statusline feat: add background mail polling option for all workers 2022-05-31 14:32:51 +02:00
templates config: do not hardcode sharedir 2022-02-19 15:24:55 +01:00
ui fix panic on closing a tab 2022-07-10 21:15:05 +02:00
uidstore Create UIDStore package 2019-07-12 11:09:47 -04:00
attachment.go compose: refactor attachment handling 2022-07-02 17:52:49 +02:00
dirstore.go Move msgstore map to dirstore 2019-07-26 14:15:27 -04:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
keepalive_dummy.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
keepalive_linux.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
messageview.go refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00
msgstore.go msgstore: do not build threads when threaded view is off 2022-07-17 18:35:21 +02:00
oauthbearer.go Add oauthbearer support for SMTP 2020-08-13 07:44:43 +02:00
open.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
socket.go aerc: use aerc as an mbox viewer 2022-07-14 23:14:50 +02:00
structure_helpers.go lib: fix tests for 386 platforms 2022-07-14 23:15:26 +02:00
structure_helpers_test.go forward: provide option to append all attachments 2022-07-02 17:53:06 +02:00
threadbuilder.go threading: fix msg-id order in references header 2022-03-23 20:56:47 +01:00