-
Notifications
You must be signed in to change notification settings - Fork 178
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
Session tear down logic for fast verification #2381
Conversation
That's still work in progress, adding the tests next. @yondonfu could you please have a quick look and maybe suggest some improvements, as you are the only person available who originally worked on this logic? |
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.
For my own understanding:
Is the reason why we don't send an EndSessionRequest to O when we cleanup the session on B due to inactivity [1] because we expect that O would have timed out the session on its end at that point as well?
[1] I think here
go-livepeer/server/mediaserver.go
Line 879 in e3f9286
_ = removeRTMPStream(ctx, s, extmid) |
@yondonfu thanks for comments and insights, all addressed.
I think it's a good idea to signal tear down there as well. |
Codecov Report
@@ Coverage Diff @@
## master #2381 +/- ##
===================================================
- Coverage 56.47655% 56.46154% -0.01502%
===================================================
Files 88 88
Lines 18760 18850 +90
===================================================
+ Hits 10595 10643 +48
- Misses 7585 7629 +44
+ Partials 580 578 -2
Continue to review full report at Codecov.
|
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.
LGTM!
What does this pull request do? Explain your changes. (required)
Implementation of session tear down logic as part of verification process #2323
Specific updates (required)
How did you test each of these updates (required)
Does this pull request close any open issues?
Checklist:
make
runs successfully./test.sh
pass