-
Notifications
You must be signed in to change notification settings - Fork 843
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/rack attack cache #1406
Feature/rack attack cache #1406
Conversation
Sorry this took me a little time to respond to, I was sick and then traveling for the holiday. Thank you for this and your other PRs. I’ll give them a full review on my next office hours stream, you’re welcome to drop in to discuss them or just wait for comments. |
Thanks for your response @pushcx . No rush. I would have loved to drop in the office hours and chat, but that would be 1:30 am for me. We can communicate asynchronously and take it from there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks great. I appreciate you taking on the setup tasks and, yeah, I'll give it a run before I put it into production.
Looks like the build just needs a cache setup ("The |
Yeah. This will need some hit and trial. Will see what can be done. |
For this PR to go further either
|
Now that your other PR is merged, the build runs automatically for you. |
Wonderful! Thank you for setting up this feature and working through all the config + build setup. I know that can get really fiddly and tedious. |
Thank you, @pushcx for being patient with me through these set of PRs. I love that how you care about moderation on the platform, and spent so much effort grooming issues and reviewing PRs. This definitely makes contributing approachable for a first-time open source contributor like me. |
This PR relates to the issue outlined here. #1401
which requires using sqlite3 based solid cache for rack_attack middleware.
This
max_age
incache.yml
Steps for installation
bundle install
will install solid_cache and sqlite3 geme.rails solid_cache:install
will createconfig/cache.yml
and generatecache_schema.rb
file.rails db:prepare
will generate the required tables.Testing
local server logs
Deployment playbook
rails db:prepare
will generate the required tablesNext Steps