chore: Block & throttle abusive requests (#2706)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose
2021-07-27 21:27:23 +05:30
committed by GitHub
parent 359c3c8ccb
commit b44f9b792b
6 changed files with 87 additions and 10 deletions

View File

@@ -33,6 +33,8 @@ gem 'liquid'
gem 'commonmarker'
# Validate Data against JSON Schema
gem 'json_schemer'
# Rack middleware for blocking & throttling abusive requests
gem 'rack-attack'
##-- for active storage --##
gem 'aws-sdk-s3', require: false
@@ -45,7 +47,6 @@ gem 'groupdate'
gem 'pg'
gem 'redis'
gem 'redis-namespace'
gem 'redis-rack-cache'
# super fast record imports in bulk
gem 'activerecord-import'