discourse/config
Sam Saffron 372f6f4f22
FEATURE: limit number of notifications per user to 10,000
Introduces a new site setting `max_notifications_per_user`.

Out-of-the-box this is set to 10,000. If a user exceeds this number of
notifications, we will delete the oldest notifications keeping only 10,000.

To disable this safeguard set the setting to 0.

Enforcement happens weekly.

This is in place to protect the system from pathological states where a
single user has enormous amounts of notifications causing various queries
to time out. In practice nobody looks back more than a few hundred notifications.
2020-02-24 11:42:50 +11:00
..
cloud/cloud66 DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
environments DEV: flag MRI specific gems 2020-02-18 11:04:56 +11:00
initializers DEV: Silence spurious rubocop lint warning 2020-02-19 13:10:30 +11:00
locales FEATURE: limit number of notifications per user to 10,000 2020-02-24 11:42:50 +11:00
application.rb DEV: Use .hbr for raw template file extension (#8883) 2020-02-11 13:38:12 -06:00
boot.rb DEV: Remove logging when redis is terminated 2019-06-21 10:31:48 +01:00
cdn.yml.sample
database.yml DEV: correct parallel specs rake tasks 2019-12-31 14:07:55 +11:00
deploy.rb.sample
discourse.config.sample
discourse.pill.sample
discourse_defaults.conf FEATURE: support MaxMind DB downloads using a license key 2020-01-03 16:32:48 +11:00
environment.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
logrotate.conf
multisite.yml.production-sample
nginx.global.conf
nginx.sample.conf FIX: Serve .ico files without nginx 404 for secure media uploads (#8826) 2020-01-31 12:45:02 +10:00
projections.json DEV: Use .hbr for raw template file extension (#8883) 2020-02-11 13:38:12 -06:00
puma.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
routes.rb DEV: remove unused 'composer/parse_html' route 2020-02-14 16:15:34 +01:00
sidekiq.yml FEATURE: introduce ultra_low priority queue 2019-01-17 14:53:19 +11:00
site_settings.yml FEATURE: limit number of notifications per user to 10,000 2020-02-24 11:42:50 +11:00
spring.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
thin.yml.sample
unicorn.conf.rb Revert "DEV: Bind to ipv6 loopback address in addition to ipv4 (#8544)" 2019-12-16 15:51:04 +00:00
unicorn_launcher FIX: Increase timeout when trying to reload unicorn. 2018-12-04 13:43:14 +08:00
unicorn_upstart.conf