lemmy/crates/db_schema
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
..
replaceable_schema Use trigger to generate apub URL in insert instead of update, and fix query planner options not being set when TLS is disabled (#4797) 2024-07-02 11:23:21 -04:00
src Fix postgres connection options causing slow query speed. (#5150) 2024-11-06 10:58:40 -05:00
Cargo.toml Adding cargo shear (#5139) 2024-10-28 11:41:09 -04:00