Merge branch 'prepared-statements-settings' into 'develop'

Prepared statements settings

See merge request pleroma/pleroma!2238
This commit is contained in:
lain 2020-03-02 17:00:04 +00:00
commit 4c02e04935
3 changed files with 13 additions and 1 deletions

View file

@ -73,6 +73,15 @@ rc-service postgresql restart
systemctl restart postgresql
```
If you are using PostgreSQL 12 or higher, add this to your Ecto database configuration
```elixir
prepare: :named,
parameters: [
plan_cache_mode: "force_custom_plan"
]
```
### Installing Pleroma
```sh
# Create a Pleroma user