-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Fix]SetPublisher track setUp race condition #586
Conversation
SDK Size
|
04795f6
to
834649d
Compare
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.
Looks good to me ✅ We just need to remove that commented out code.
// update.supportsGrouping = true | ||
// update.supportsHolding = true | ||
// update.supportsUngrouping = true | ||
// update.supportsGrouping = true |
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 delete this code?
bdd3002
to
c52ca4c
Compare
c52ca4c
to
b72402a
Compare
Quality Gate passedIssues Measures |
🔗 Issue Links
Resolves https://stream-io.atlassian.net/browse/PBE-6301
📝 Summary
In some cases, a race condition was hit, where Publisher setUp hasn't completed when the negotiation was executing. That resulted in SetPublisherRequest tracks being empty.
🛠 Implementation
Before negotiation, we add a small expectation (setUp must complete before proceeding) and allowing a 2 seconds waiting time for it.
☑️ Contributor Checklist