discourse/app/jobs
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
..
concerns
onceoff DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
regular FIX: Ensure web hooks are retried at most 5 times 2020-02-21 17:02:40 +02:00
scheduled FEATURE: limit number of notifications per user to 10,000 2020-02-24 11:42:50 +11:00
base.rb PERF: avoid shelling to get hostname aggressively 2020-02-18 15:13:19 +11:00