ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit 7b9a8d72e8cb2ac8137de51d340bb3faa2478b0e
parent 861b3d88d1a67e2bb2142690fe7d2c62c2e47699
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 30 Nov 2021 11:22:38 +0100

config-files/pleroma: update
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/config-files/osterei/pleroma.exs b/config-files/osterei/pleroma.exs
@@ -1,5 +1,7 @@
 import Config
 
+config :pleroma, :dangerzone, override_repo_pool_size: true
+
 config :pleroma, Pleroma.Web.Endpoint,
   url: [host: "pleroma.ctu.cx", scheme: "https", port: 443],
   domain: "ctu.cx",

@@ -10,8 +12,9 @@ config :pleroma, Pleroma.Repo,
   username:   "pleroma",
   database:   "pleroma",
   socket_dir: "/run/postgresql",
-  pool_size: 10
-
+  pool_size: 20,
+  timeout: 20_000,
+  connect_timeout: 20_000
 
 # We can't store the secrets in this file, since this is baked into the docker image
 if not File.exists?("/var/lib/pleroma/secret.exs") do

@@ -138,7 +141,7 @@ config :pleroma, :fetch_initial_posts,
   enabled: false,
   pages: 1
 
-config :pleroma, :chat, enabled: false
+config :pleroma, :shout, enabled: false
 
 config :pleroma, :mrf,
   policies: [Pleroma.Web.ActivityPub.MRF.SimplePolicy]