fs / rails-base-graphql-api

Base Rails application for GraphQL API
27 stars 7 forks source link

Add rack-attack gem #206

Open RamilyaNigmatullina opened 2 years ago

RamilyaNigmatullina commented 2 years ago

Summary

How it works

It protects the app from bad clients. It allows only 300 requests from one IP address per 5 minutes.

Test plan

Send any request that exceeds the limit.

Review notes

While reviewing pull-request (especially when it's your pull-request), please make sure that:

Deploy notes

None.

References