lemmy/crates
dullbananas c4fc3a8ede
Optimize stuff in attempt to fix high amount of locks, and fix comment_aggregates.child_count (#4696)
* separate triggers

* auto_explain.log_triggers=on

* Revert "auto_explain.log_triggers=on"

This reverts commit 078b2dbb9bbb878078f1089cffda06b6458d127c.

* Revert "separate triggers"

This reverts commit 95600da4afb49e1dc203c2d61da4c57858e107db.

* bring back migration

* re-order statements

* add comment about statement ordering

* no redundant updates

* optimize post_aggregates update in comment trigger

* set comment path in trigger

* update comment_aggregates.child_count using trigger

* move `LEFT JOIN post` to inner query

* clean up newest_comment_time_necro

* add down.sql
2024-05-09 08:18:55 -04:00
..
api Fix community add mod check (fixes #4624) (#4667) 2024-04-25 11:47:38 -04:00
api_common On registration set show_nsfw based on site.content_warning (#4616) 2024-05-07 16:18:58 -04:00
api_crud On registration set show_nsfw based on site.content_warning (#4616) 2024-05-07 16:18:58 -04:00
apub Instance.preferred_username should be optional (fixes #4701) (#4713) 2024-05-08 08:01:04 -04:00
db_perf Dont publish lemmy_db_perf to fix crates.io publish. Fixes #4678 (#4680) 2024-04-30 17:51:12 +00:00
db_schema Optimize stuff in attempt to fix high amount of locks, and fix comment_aggregates.child_count (#4696) 2024-05-09 08:18:55 -04:00
db_views Dont show own comments for liked and disliked_only. Fixes #4675 (#4679) 2024-04-30 23:26:55 -04:00
db_views_actor Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
db_views_moderator Fixing extra modlog entries when post_id or comment_id is given. (#4664) 2024-04-25 10:26:17 +02:00
federate Make all single-fetch database calls return an Option. (#4617) 2024-04-16 14:48:15 +02:00
routes chore: fix some comments (#4637) 2024-04-17 14:35:54 +02:00
utils Add timeout for processing incoming activities (#4708) 2024-05-08 08:00:55 -04:00