mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-22 00:04:20 +01:00
Increase PostgreSQL limits for matrix
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
839fa1f700
commit
1005ffd65d
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue