discourse/plugins/chat/app/jobs/scheduled/chat
Martin Brennan f6072ba804
DEV: Move user count update for channels to ensure_consistency! (#22321)
This fixes a longstanding TODO to move the contents of the
UpdateUserCountsForChannels job to the ensure_consistency!
method of Chat::Channel, which runs every 15 mins as part of
periodical updates.

This commit also addresses the performance issue of the original,
where we would fetch all channels and do an individual query to
get the count and update the count of each one. Now we do it all
in one query, and only publish the changed channels to the UI.
2023-07-03 11:41:51 +10:00
..
auto_join_users.rb FEATURE: Reintroduce better thread reply counter cache (#21197) 2023-04-24 09:32:04 +10:00
delete_old_messages.rb FIX: Do not delete old chat messages if chat disabled (#21214) 2023-04-24 14:42:50 +10:00
email_notifications.rb FEATURE: Reintroduce better thread reply counter cache (#21197) 2023-04-24 09:32:04 +10:00
periodical_updates.rb FEATURE: Reintroduce better thread reply counter cache (#21197) 2023-04-24 09:32:04 +10:00