lemmy/crates/db_views/src
Dessalines 917e408735
Fix postgres connection options causing slow query speed. (#5150)
* Adding a query speed check.

* Fixing slow queries due to connection config options.

* Remove pointless set_config sql function.

* Removing pointless bool.

* Removing comment

* Removing test.sh changes.

* Add analyze to speed up query

* Trying to fix DB perf connection try #1

* Try encoding option

* Fix woodpecker

* Try to use path character.

* Fixing lemmy config location.

* Removing pointless connection options.

* Use OnceLock to create a once-init psql connection.

* Fixing comment.

* Fix host encoding for dev DB.

* Address PR comments.

* Revert query mut change.
2024-11-06 10:58:40 -05:00
..
comment_report_view.rs Adding community description in addition to sidebar, like site. (#5120) 2024-10-28 11:54:36 -04:00
comment_view.rs Adding community description in addition to sidebar, like site. (#5120) 2024-10-28 11:54:36 -04:00
custom_emoji_view.rs refactor: destructure tuples to enhance readability (#5151) 2024-10-31 08:12:24 -04:00
lib.rs Creating a LocalImageView, so that front ends have the Person struct. (#4631) 2024-04-16 19:20:44 -04:00
local_image_view.rs Creating a LocalImageView, so that front ends have the Person struct. (#4631) 2024-04-16 19:20:44 -04:00
local_user_view.rs Allow admins to resolve removed or deleted objects via API (#5061) 2024-10-26 14:47:56 -04:00
post_report_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
post_view.rs Fix postgres connection options causing slow query speed. (#5150) 2024-11-06 10:58:40 -05:00
private_message_report_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
private_message_view.rs Replace clippy::unwrap_used in tests (#5064) 2024-10-02 08:50:21 -04:00
registration_application_view.rs Remove individual user/community inboxes (#5124) 2024-10-26 14:54:29 -04:00
site_view.rs Fixing LemmyError imports. (#5157) 2024-11-04 10:44:58 +01:00
structs.rs Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
vote_view.rs Remove comment_like.post_id column which is unnecessary (ref #5122) (#5134) 2024-10-26 14:45:12 -04:00