discourse/plugins/chat/app
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
..
controllers/chat DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
helpers/chat FEATURE: Mark all chat channels read with a shortcut (#20629) 2023-03-22 13:24:07 +10:00
jobs DEV: Move user count update for channels to ensure_consistency! (#22321) 2023-07-03 11:41:51 +10:00
models DEV: Move user count update for channels to ensure_consistency! (#22321) 2023-07-03 11:41:51 +10:00
policies DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
queries/chat FEATURE: Scroll to first message when clicking date in chat (#21926) 2023-06-20 15:58:38 +02:00
serializers/chat DEV: Use same excerpt everywhere in chat (#22319) 2023-06-29 09:20:20 +10:00
services DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views