Skip to content

perf(imap): reuse one IMAP connection per account within a process - #13826

Open
SebastianKrupinski wants to merge 1 commit into
perf/jmap-connection-reusefrom
perf/jmap-connection-reuse-2
Open

SebastianKrupinski wants to merge 1 commit into
perf/jmap-connection-reusefrom
perf/jmap-connection-reuse-2

Conversation

@SebastianKrupinski

@SebastianKrupinski SebastianKrupinski commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Every operation opened a new IMAP connection and logged out again, so a single request could log in several times. Share pooled clients per account (cached and uncached apart), replace them on credential changes, reset dropped connections and log out once at shutdown.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
@SebastianKrupinski
SebastianKrupinski force-pushed the perf/jmap-connection-reuse-2 branch from 47bf2cf to 4fd0609 Compare October 8, 2026 14:31

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

1 participant