Merged
Conversation
Member
|
Thanks for the awesome debugging :) I'd prefer doing something like this. The sendloop has exited so there's no need to wait for a deadline, instead we should exit quickly if sendMsg is called from the recvLoop. We can probably refactor this more, but this is enough for a patch release. |
sukunrt
requested changes
Jun 5, 2025
Member
sukunrt
left a comment
There was a problem hiding this comment.
See: #130 (comment)
I can make the changes if the fix works for you.
Contributor
Author
|
Thanks @sukunrt ! I won't have time to look into this in detail for the next two weeks because of all the Berlin events coming up. If you're good with your suggested changes and they pass the test that I provided in the issue, feel free to go ahead and make the changes yourself :) |
MarcoPolo
approved these changes
Jun 5, 2025
sukunrt
added a commit
that referenced
this pull request
Jun 10, 2025
--------- Co-authored-by: sukun <sukunrt@gmail.com>
sukunrt
added a commit
that referenced
this pull request
Jun 11, 2025
--------- Co-authored-by: sukun <sukunrt@gmail.com>
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.
Fixes #129
This PR doesn't include the test case because it's sprinkled with sleep statements and will be prone to be flaky.
I've deployed this change and can confirm that it fixed my issue:
The lookups don't stall anymore after I've deployed a version of Hermes that uses this fix.