aboutsummaryrefslogtreecommitdiffstats
path: root/worker/maildir/container.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2024-02-26 21:51:27 +0100
committerRobin Jarry <robin@jarry.cc>2024-02-26 23:29:40 +0100
commit66bbc5303578b70e7dd3ef095b3bf43273181f87 (patch)
tree47d6052ac381860ad88ac8d003d05f8df1150655 /worker/maildir/container.go
parent8543aec8f12c59f914807a40f004a0360c2cb610 (diff)
downloadaerc-66bbc5303578b70e7dd3ef095b3bf43273181f87.tar.gz
imap: drain updates channel when moving messages
Drain the updates channel when moving messages to prevent a backend freeze. This also fixes a possible freeze for large-scale archive operations since the archive command uses the move operation. Reported-by: Moritz Poldrack <moritz@poldrack.dev> Signed-off-by: Koni Marti <koni.marti@gmail.com> Tested-by: Jeremy Baxter <jtbx@disroot.org> Tested-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/maildir/container.go')
0 files changed, 0 insertions, 0 deletions