discourse/app/jobs/scheduled
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
..
about_stats.rb PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00
badge_grant.rb
calculate_avg_time.rb
category_stats.rb
clean_up_digest_keys.rb
clean_up_exports.rb
clean_up_unmatched_emails.rb
clean_up_unmatched_ips.rb FEATURE: Use created_at to remove an ip if its last_match_at is null 2015-06-05 10:51:13 -04:00
clean_up_uploads.rb FIX: 'clean up uploads' job 2015-05-22 20:28:52 +02:00
create_missing_avatars.rb CRUSHED: duplicate key value violates unique constraint 'index_uploads_on_sha1' 2015-05-07 01:00:13 +02:00
daily_performance_report.rb Don't run perf report in multisite 2015-06-26 16:30:07 +10:00
dashboard_stats.rb PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00
destroy_old_deletion_stubs.rb
destroy_old_hidden_posts.rb
directory_refresh_daily.rb PERF: Only refresh the Daily stats hourly, do the others daily. 2015-04-20 12:11:36 -04:00
directory_refresh_older.rb PERF: Only refresh the Daily stats hourly, do the others daily. 2015-04-20 12:11:36 -04:00
enqueue_digest_emails.rb
ensure_db_consistency.rb FIX: ensure CategoryUser consistency 2015-09-02 22:02:31 +02:00
heartbeat.rb
migrate_scheme.rb FEATURE: move migrate_to_new_scheme into a background job 2015-06-12 12:07:57 +02:00
pending_flags_reminder.rb
pending_queued_posts_reminder.rb FEATURE: notify by email when there are posts from new users waiting to be reviewed 2015-06-18 15:47:35 -04:00
pending_users_reminder.rb
periodical_updates.rb FEATURE: implement capping of new/unread 2015-09-07 12:03:17 +10:00
poll_feed.rb Changes RSS item creation to prevent encoding errors 2015-07-20 14:30:42 +02:00
poll_mailbox.rb FEATURE: allow logging of raw body of all unprocessable email 2015-07-31 15:10:35 +10:00
process_badge_backlog.rb
purge_deleted_uploads.rb
purge_inactive.rb
reindex_search.rb
schedule_backup.rb FEATURE: allow backup settings to be overriden by globals 2015-08-14 16:28:29 +10:00
tl3_promotions.rb
top_refresh_older.rb
top_refresh_today.rb
version_check.rb
weekly.rb FIX: leaving around useless drafts after posting 2015-06-02 20:28:33 +10:00