Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@raftx24
Copy link

@raftx24 raftx24 commented Apr 8, 2021

when you have 10K users and 5 channels per user and accidentally echo-server restart, the application will receive 50K auth requests concurrently and it can make the server down!
I added maxAuthConcurrentRequests for fixing this issue.

| `apiOriginAllow` | `{}` | Configuration to allow API be accessed over CORS. [Example](#cross-domain-access-to-api) |
| `authEndpoint` | `/broadcasting/auth` | The route that authenticates private channels |
| `authHost` | `http://localhost` | The host of the server that authenticates private and presence channels |
| `maxConcurrentAuthRequests` | `null` | Max number of concurrent auth requests, null -> unlimited |
Copy link
Author

Choose a reason for hiding this comment

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

1

Copy link
Author

Choose a reason for hiding this comment

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

2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant