discourse/app/jobs
Sam 335be272ff FEATURE: implement capping of new/unread
We cap new and unread at 2/5th of SiteSetting.max_tracked_new_unread

This dynamic capping is applied under 2 conditions:

1. New capping is applied once every 15 minutes in the periodical job, this effectively ensures that usually even super active sites are capped at 200 new items

2. Unread capping is applied if a user hits max_tracked_new_unread,
  meaning if new + unread == 500, we defer a job that runs within 15 minutes that will cap user at 200 unread

This logic ensures that at worst case a user gets "bad" numbers for 15 minutes and then the system goes ahead and fixes itself up
2015-09-07 12:03:17 +10:00
..
regular lower the volume on failed to pull hotlinked image 2015-08-19 12:32:45 +10:00
scheduled FEATURE: implement capping of new/unread 2015-09-07 12:03:17 +10:00
base.rb FEATURE: make pin expiration mandatory 2015-07-29 16:34:21 +02:00
stats.rb PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00