lemmy/crates/db_views
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
..
src Fix postgres connection options causing slow query speed. (#5150) 2024-11-06 10:58:40 -05:00
Cargo.toml When using saved_only, sort posts / comments by the saved publish time, not the item creation time (#4479) 2024-03-04 14:19:51 +01:00