discourse/app
Alan Guo Xiang Tan ae0625323a
FIX: Avoid errors when updating post and topic count user stats. (#15876)
In ab5361d69a, we rescue from the PG error
but the transaction is already aborted causing any DB query after to
fail. As such, we avoid triggering the error in the first place by
checking that we would not be insertin a negative number into the
counter cache.

Follow-up to ab5361d69a
2022-02-09 21:48:18 +08:00
..
assets DEV: add native lazy loading for emojis (#15830) 2022-02-09 12:18:59 +01:00
controllers FIX: Sort group owners and members together (#15708) 2022-02-09 11:43:58 +02:00
helpers Revert "PERF: Update ember-auto-import (#15814)" (#15854) 2022-02-07 22:41:07 +00:00
jobs DEV: Fix typo. (#15857) 2022-02-08 09:04:53 +08:00
mailers FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
models DEV: add native lazy loading for emojis (#15830) 2022-02-09 12:18:59 +01:00
serializers FEATURE: Add external_id to topics (#15825) 2022-02-08 20:55:32 -07:00
services FIX: Avoid errors when updating post and topic count user stats. (#15876) 2022-02-09 21:48:18 +08:00
views Revert "PERF: Update ember-auto-import (#15814)" (#15854) 2022-02-07 22:41:07 +00:00