Skip to content

Move getMaxMessageId off EDT in MessageBrowser.runSearch#317

Open
NicoPiel wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
NicoPiel:perf/message-browser-swingworker
Open

Move getMaxMessageId off EDT in MessageBrowser.runSearch#317
NicoPiel wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
NicoPiel:perf/message-browser-swingworker

Conversation

@NicoPiel
Copy link
Copy Markdown
Collaborator

getMaxMessageId is a blocking HTTP call that was executed on the Swing
EDT, freezing the UI while waiting for the server response. Moved it
into SwingWorker.doInBackground(); all subsequent UI updates run in
done() back on the EDT.

getMaxMessageId is a blocking HTTP call that was executed on the Swing
EDT, freezing the UI while waiting for the server response. Moved it
into SwingWorker.doInBackground(); all subsequent UI updates run in
done() back on the EDT.

Signed-off-by: Nico Piel <nico.piel@hotmail.de>
@github-actions
Copy link
Copy Markdown

Test Results

  111 files  ±0    214 suites  ±0   7m 5s ⏱️ + 1m 21s
  654 tests ±0    654 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 308 runs  ±0  1 308 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit bcba078. ± Comparison against base commit 2e0ff41.

@NicoPiel NicoPiel self-assigned this May 27, 2026
@NicoPiel NicoPiel requested review from a team, gibson9583, jonbartels, kayyagari, mgaffigan, pacmano1, ssrowe and tonygermano and removed request for a team May 27, 2026 21:04
@jonbartels jonbartels added this to the Next Release milestone May 27, 2026
Copy link
Copy Markdown
Contributor

@mgaffigan mgaffigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need protection against reentrance, otherwise double-click will race with indeterminate state.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants