1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-26 18:40:49 +02:00

matrix: Retune memory use a bit

Give more memory to the apps and less to postgres.
This commit is contained in:
Jan Alexander Steffens (heftig) 2021-06-01 18:44:21 +02:00
parent 407163f39b
commit 652185f380
No known key found for this signature in database
GPG Key ID: 3B94A80E50A477C7
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
- { role: certbot }
- { role: nginx }
- role: postgres
postgres_shared_buffers: 1GB
postgres_shared_buffers: 256MB
postgres_work_mem: 64MB
postgres_maintenance_work_mem: 256MB
postgres_effective_cache_size: 4GB

View File

@ -773,7 +773,7 @@ caches:
#
# Defaults to 0.5, which will half the size of all caches.
#
#global_factor: 1.0
global_factor: 0.7
# A dictionary of cache name to cache factor for that individual
# cache. Overrides the global cache factor for a given cache.
@ -840,7 +840,7 @@ database:
user: synapse
password: {{ vault_postgres_users.synapse }}
cp_min: 1
cp_max: 5
cp_max: 8
## Logging ##