force custom query plans
This commit is contained in:
parent
82cec10b8b
commit
0fbf0e398f
1 changed files with 4 additions and 0 deletions
|
|
@ -41,6 +41,10 @@ data:
|
||||||
|
|
||||||
config :pleroma, Pleroma.Repo,
|
config :pleroma, Pleroma.Repo,
|
||||||
adapter: Ecto.Adapters.Postgres,
|
adapter: Ecto.Adapters.Postgres,
|
||||||
|
prepare: :named,
|
||||||
|
parameters: [
|
||||||
|
plan_cache_mode: "force_custom_plan"
|
||||||
|
],
|
||||||
username: System.get_env("DB_USER", "pleroma"),
|
username: System.get_env("DB_USER", "pleroma"),
|
||||||
password: System.get_env("DB_PASS"),
|
password: System.get_env("DB_PASS"),
|
||||||
database: System.get_env("DB_NAME", "pleroma"),
|
database: System.get_env("DB_NAME", "pleroma"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue