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:
parent
407163f39b
commit
652185f380
@ -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
|
||||
|
@ -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 ##
|
||||
|
Loading…
Reference in New Issue
Block a user