Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

balancer: fix infinite loop in client connection handling #1202

Merged
merged 1 commit into from
Jan 6, 2024
Merged

Conversation

dyc3
Copy link
Owner

@dyc3 dyc3 commented Jan 6, 2024

fixes #1187

Copy link

codecov bot commented Jan 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2cede3c) 61.5318% compared to head (7a7121b) 61.5318%.

Additional details and impacted files
@@             Coverage Diff             @@
##             master      #1202   +/-   ##
===========================================
  Coverage   61.5318%   61.5318%           
===========================================
  Files           115        115           
  Lines          9322       9322           
  Branches       1141       1141           
===========================================
  Hits           5736       5736           
  Misses         3586       3586           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

cypress bot commented Jan 6, 2024

2 failed tests on run #783 ↗︎

2 56 1 0 Flakiness 0

Details:

Merge 7a7121b into 2cede3c...
Project: OpenTogetherTube Commit: c8b4a73ee7 ℹ️
Status: Failed Duration: 03:32 💡
Started: Jan 6, 2024 5:32 PM Ended: Jan 6, 2024 5:35 PM
Failed  Chat.cy.ts • 1 failed test • Component - electron

View Output Video

Test Artifacts
An uncaught error was detected outside of a test Screenshots Video
Failed  ShareInvite.cy.ts • 1 failed test • Component - electron

View Output Video

Test Artifacts
An uncaught error was detected outside of a test Screenshots Video

Review all test suite changes for PR #1202 ↗︎

}
}

msg = stream.next() => {
if let Some(Ok(msg)) = msg {
Some(msg) = stream.next() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this using pattern matching?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yes, see the docs for tokio::select!

@dyc3 dyc3 merged commit 7fb0e9a into master Jan 6, 2024
16 of 18 checks passed
@dyc3 dyc3 deleted the fix-1187 branch January 6, 2024 20:13
cjrkoa pushed a commit to cjrkoa/opentogethertube that referenced this pull request Jan 26, 2024
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.

Balancer stops responding to all HTTP requests when Monolith stops
2 participants