We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The way we handle multiple web socket connections from one user it not optimal. E.g. when one connection gets terminated, we terminate all of them.
Instead we should generate a UUID for each connection and keep them in a
Map[String, (Account, Map[String, Concurrent.Channel[Msg]])]
instead of
Map[String, (Account, Set[Concurrent.Channel[Msg]])]
This way we can keep track of the WS connections depending on the session ID individually, allowing multiple connections per session independently.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
The way we handle multiple web socket connections from one user it not optimal. E.g. when one connection gets terminated, we terminate all of them.
Solution
Instead we should generate a UUID for each connection and keep them in a
instead of
This way we can keep track of the WS connections depending on the session ID individually, allowing multiple connections per session independently.
The text was updated successfully, but these errors were encountered: