mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-21 15:54:21 +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 {
|
||||
|
@ -249,7 +249,7 @@ alter user synapse with encrypted password '{{ with secret "kv/data/matrix/synap
|
|||
\c synapse;
|
||||
SELECT setval('application_services_txn_id_seq', (
|
||||
SELECT GREATEST(MAX(txn_id), 0) FROM application_services_txns
|
||||
));
|
||||
));
|
||||
EOF
|
||||
destination = "secrets/init.sql"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue