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

added rate-limit#568

Open
raftx24 wants to merge 2 commits into
tlaverdure:masterfrom
raftx24:feature/added-rate-limit
Open

added rate-limit#568
raftx24 wants to merge 2 commits into
tlaverdure:masterfrom
raftx24:feature/added-rate-limit

Conversation

@raftx24

@raftx24 raftx24 commented Apr 8, 2021

Copy link
Copy Markdown

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.

Comment thread README.md
| `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
Copy Markdown
Author

Choose a reason for hiding this comment

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

1

Copy link
Copy Markdown
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