chinwagsocial/config
Akihiko Odaki b1d4471e36 Throttle media post (#7337)
The previous rate limit allowed to post media so fast that it is possible
to fill up the disk space even before an administrator notices. The new
rate limit is configured so that it takes 24 hours to eat 10 gigabytes:
10 * 1024 / 8 / (24 * 60 / 30) = 27 (which rounded to 30)

The period is set long so that it does not prevent from attaching several
media to one post, which would happen in a short period. For example,
if the period is 5 minutes, the rate limit would be:
10 * 1024 / 8 / (24 * 60 / 5) = 4

This long period allows to lift the limit up.
2018-05-03 17:32:00 +02:00
..
environments Add support for separate Redis for cache (#7272) 2018-04-27 01:37:59 +02:00
initializers Throttle media post (#7337) 2018-05-03 17:32:00 +02:00
locales Weblate translations 20180503 (#7325) 2018-05-03 19:12:09 +09:00
webpack Cache media (#6902) 2018-03-27 12:32:30 +02:00
application.rb Add el and te (#7332) 2018-05-03 15:54:10 +02:00
boot.rb Upgrade Rails to version 5.2.0 (#5898) 2018-04-12 14:45:17 +02:00
brakeman.ignore Save video metadata and improve video OpenGraph tags (#6481) 2018-02-16 07:22:20 +01:00
database.yml use-DB_NAME-in-development (#5430) 2017-10-17 11:45:37 +02:00
deploy.rb Update dependencies for Ruby (2018-04-23) (#7237) 2018-04-23 11:29:17 +02:00
environment.rb Make PreviewCard records reuseable between statuses (#4642) 2017-09-01 16:20:16 +02:00
i18n-tasks.yml Revert #6479, hide sensitive text/images from OpenGraph previews (#6818) 2018-03-18 20:33:07 +01:00
navigation.rb Add headings to the security settings page (#6661) 2018-03-07 01:39:40 +01:00
puma.rb Do not set port for puma if it is bound to unix socket (#2289) 2017-04-22 01:22:20 +02:00
routes.rb Direct messages column (#4514) 2018-04-18 13:09:06 +02:00
secrets.yml Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
settings.yml Implement the ability for instances to define a list of disallowed hashtags (#7176) 2018-04-23 23:52:58 +02:00
sidekiq.yml Account archive download (#6460) 2018-02-21 23:21:32 +01:00
themes.yml Separate high contrast theme (#7213) 2018-04-21 21:35:55 +02:00
webpacker.yml Upgrade Webpacker to version 3.0.1 (#5122) 2017-09-27 14:41:54 +02:00