aboutsummaryrefslogtreecommitdiffstats
path: root/worker/maildir/container.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-06-20 11:07:06 -0500
committerRobin Jarry <robin@jarry.cc>2023-06-20 23:16:25 +0200
commit982ee4128c584759e518b6d541ca01cce6c5d547 (patch)
tree092a18234e6fc601e1af81e41aec0289d846479c /worker/maildir/container.go
parente984db17e5459b58b566426eb84236bf1b1ee6aa (diff)
downloadaerc-982ee4128c584759e518b6d541ca01cce6c5d547.tar.gz
msgstore: pass context from dirlist to msgstore
Most, if not all, requests to the worker that may need cancellation are sent by the msgstore. These requests are typically only relevant when the msgstore is the selected one. Pass a context from the dirlister to the msgstore when it is selected. This context will be passed in future commits to worker requests. The context is cancelled when a new directory is selected. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Tested-by: Bence Ferdinandy <bence@ferdinandy.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/maildir/container.go')
0 files changed, 0 insertions, 0 deletions