summaryrefslogtreecommitdiff
path: root/lib/msgstore.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-03-19 13:30:07 +0100
committerRobin Jarry <robin@jarry.cc>2022-03-20 09:58:09 +0100
commite49f08e35fa7d7439de1df7f362c69ed188358dc (patch)
tree275b63daf0c097cd1c9c1a8cf02d6f632a53a35e /lib/msgstore.go
parent2512c0403fa42b19c3e87fed44240da045ec902f (diff)
downloadaerc-e49f08e35fa7d7439de1df7f362c69ed188358dc.zip
statusline: update status only when necessary
Update statusline only when changed to reduce cpu usage. commit 2512c0403fa4 ("statusline: implement per-account status") updates the status irrespective of whether the statusline changed or not. This can lead to high cpu usage that can be avoided. Reported-by: Jens Grassel <jens@wegtam.com> Reported-by: inwit <inwit@sindominio.net> Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/msgstore.go')
0 files changed, 0 insertions, 0 deletions