8000 fix: Incorrect error shown to user when connection limit is reached by tommoor · Pull Request #5695 · outline/outline · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Incorrect error shown to user when connection limit is reached #5695

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

Merged
merged 3 commits into from
Aug 16, 2023

Conversation

tommoor
Copy link
Member
@tommoor tommoor commented Aug 16, 2023

Reported through support that the error was confusing in this condition.

@request-info
Copy link
request-info bot commented Aug 16, 2023

Hey there! It looks like you didn't provide much information here. Please consider adding more details about the issue / pr or it will be automatically closed. Thanks for helping us maintain the project!

@request-info request-info bot added the more information needed This issue will be automatically closed unless more details are provided label Aug 16, 2023
@tommoor tommoor removed the more information needed This issue will be automatically closed unless more details are provided label Aug 16, 2023

@trace()
export class ConnectionLimitExtension implements Extension {
/**
* Map of documentId -> connection count
*/
connectionsByDocument: Map<string, number> = new Map();
connectionsByDocument: Map<string, Set<string>> = new Map();
Copy link
Member Author
@tommoor tommoor Aug 16, 2023

Choose a reason for hiding this comment

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

Updated to track specific socketId s instead of a number

@tommoor tommoor merged commit 5f00b4f into main Aug 16, 2023
@tommoor tommoor deleted the tom/fix-connection-limit-error branch August 16, 2023 19:39
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.

1 participant
0