From 1005ffd65d8e7e8ae6d2c463e536272d13d39771 Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Thu, 3 Nov 2022 01:18:59 +0100 Subject: [PATCH] Increase PostgreSQL limits for matrix Signed-off-by: Magic_RB --- nomad/regions/homelab-1/job/conduit.hcl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nomad/regions/homelab-1/job/conduit.hcl b/nomad/regions/homelab-1/job/conduit.hcl index 6128749..efe6bc4 100644 --- a/nomad/regions/homelab-1/job/conduit.hcl +++ b/nomad/regions/homelab-1/job/conduit.hcl @@ -239,8 +239,8 @@ EOF resources { cpu = 500 - memory = 128 - memory_max = 256 + memory = 1024 + memory_max = 1536 } template { @@ -248,8 +248,8 @@ EOF alter user synapse with encrypted password '{{ with secret "kv/data/matrix/synapse" }}{{ .Data.data.pgpass }}{{ end }}'; \c synapse; SELECT setval('application_services_txn_id_seq', ( - SELECT GREATEST(MAX(txn_id), 0) FROM application_services_txns - )); + SELECT GREATEST(MAX(txn_id), 0) FROM application_services_txns +)); EOF destination = "secrets/init.sql" }