Repository navigation
feat(JB): limit to 4 threads in handleMessage - #5600
Merged
Merged
Conversation
Patrick-Erichsen
requested review from
tomasz-stefaniak
and removed request for
a team
May 9, 2025 23:22
✅ Deploy Preview for continuedev canceled.
|
Closed
3 tasks done
handleMessagehandleMessage
sestinj
approved these changes
May 9, 2025
sestinj
left a comment
Contributor
There was a problem hiding this comment.
Looks like this is a strictly safer version of Dispatchers.IO, unless we have a problem with not having enough threads. Will keep an eye on this while in EAP, but this resolves major problems
3 tasks done
This was referenced May 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
(Hopefully) resolves #4098
This PR implements advice from @ForNeVeR to limit the number of parallel threads to 4 in our message handling in JetBrains. See #4098 for context on why this is necessary.
Summary by mrge
Limited parallel threads in JetBrains message handling to 4 to prevent UI freezing. This helps keep the IDE responsive during heavy message processing.