-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(stream)!: remove limit on concurrent sessions and allow quitting apps with active sessions #3325
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3325 +/- ##
==========================================
+ Coverage 11.13% 11.14% +0.01%
==========================================
Files 99 99
Lines 17211 17184 -27
Branches 8023 8009 -14
==========================================
Hits 1916 1916
+ Misses 12594 12581 -13
+ Partials 2701 2687 -14
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we, or are we, logging the count of active streams? 128 seems excessive and likely to cause huge performance degradation? Might be good to just have that in the logs so the helpers can clearly see it.
Added logging in the latest commit.
The point of picking 128 wasn't that someone would actually want to stream to 128 clients. We have to pick some number because ENet allocates a fixed size array for holding peers. I picked 128 because it should be comfortably above other hardware and software limitations for almost any conceivable setup while not being excessively large and wasting memory. The intent is for users to hit the limits of their CPU/GPU/network before they would get near 128 clients. |
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
… apps with active sessions (LizardByte#3325)
Description
This PR reworks session handling to be more flexible in the following cases:
channels
prior to this PR and the user would need to go manually disconnect that session.This removes the
channels
configuration options and allows users to connect as many session as they want (up to the arbitrary limit of 128). They can also now quit the running app (which also disconnects all sessions) even if a session is still connected.Screenshot
Issues Fixed or Closed
Type of Change
.github/...
)Checklist