discourse/plugins/chat/app
Loïc Guitaut eb09733391
FIX: Catch possible PG exception from Chat::AutoJoinChannels (#34132)
Currently, it can happen that the `Chat::AutoJoinChannels` service
raises a `PG::UniqueViolation` error. This is probably due to a race
condition. That exception is not rescued, leading to 500s.

This PR wraps the main step inside a `try` block and also inside a
`lock` block.
2025-08-07 12:50:22 +02:00
..
controllers/chat DEV: allows chat thread sdk to query more messages (#32914) 2025-06-02 09:29:24 +02:00
jobs FIX: Error when leaving group DM channel (#31537) 2025-02-27 14:26:07 +10:00
models DEV: Improve separation of core and plugin CI (#33583) 2025-07-14 14:28:30 +02:00
queries/chat DEV: allows chat thread sdk to query more messages (#32914) 2025-06-02 09:29:24 +02:00
serializers/chat DEV: Refactor Chat::ListChannelMessages service a bit 2025-06-23 14:18:49 +02:00
services/chat FIX: Catch possible PG exception from Chat::AutoJoinChannels (#34132) 2025-08-07 12:50:22 +02:00
validators/chat FEATURE: Add setting to prevent anonymous users from using chat (#31842) 2025-03-21 13:32:52 +03:00
views PERF: fix performance of chat email notifications 2024-06-10 14:25:06 +02:00