Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
master
-
None
Description
For now ImapChannelUpstreamHandler never cancels the execution of IMAP requests it schedules.
For instance big `FETCH 1:* BODYSTRUCTURE` timing out, with clients closing the connection, should not be processed any longer as they take valuable compute resources away from the rest of the IMAP traffic.
However in some cases we know we could stop handling a given IMAP request: when the connection is close/inactive.
We could keep track of pending computations at the channel level so that we could stop those computations when beneficial.
Attachments
Issue Links
- links to