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

Fix/error when joining conference #87

Merged
merged 2 commits into from
May 7, 2024

Conversation

martinstark
Copy link
Contributor

Multiple close requests to join a conference currently each try to create their own conference. This happens since the production is read from the database before the conference ID has been written to the line, meaning several queued requests to join a conference hold an outdated line in memory. This results in each request creating new conferences for each queued request.

Make sure production lines are fetched as part of the queued createConference method, to ensure that multiple requests towards the same line only create a single conference id.

@martinstark martinstark requested review from oshinongit and friday May 6, 2024 11:33
Copy link
Contributor

@oshinongit oshinongit left a comment

Choose a reason for hiding this comment

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

Tested and seems to work as expected.

LGTM

@martinstark martinstark merged commit adf2ce0 into main May 7, 2024
4 checks passed
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.

2 participants