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

Feature: add rate limiting. The rate is limited by IP address. #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sesam
Copy link
Contributor

@sesam sesam commented Feb 28, 2021

These initial settings wil allow 100 requests per 15 seconds (comparable to 400 rpm).

See issue #8

@hsjoberg
Copy link
Owner

@sesam Awesome, thank you for this!

Make sure that the code is being formatted by prettier.
esbenp.prettier-vscode is helpful if you are using VSCode, otherwise running npx prettier src/app.ts --write will work too.

I haven't had time to add husky or any git hooks for this just yet. 😅

@hsjoberg hsjoberg force-pushed the master branch 7 times, most recently from 0d169a5 to 920b45e Compare April 19, 2021 14:00
@sesam sesam force-pushed the feature/rate-limiting branch from b30309a to b72540c Compare May 6, 2021 10:49
These initial settings will allow 100 requests per 15 seconds (comparable to 400 rpm).
@sesam sesam force-pushed the feature/rate-limiting branch from b72540c to dc0c32b Compare May 6, 2021 10:51
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