Verified Commit affc74cb authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Rescale to cpx31

parent d5bb9cdf
......@@ -14,8 +14,8 @@
- { role: certbot }
- { role: nginx }
- role: postgres
postgres_shared_buffers: 500MB
postgres_work_mem: 32MB
postgres_shared_buffers: 1024MB
postgres_work_mem: 64MB
postgres_maintenance_work_mem: 1GB
postgres_effective_cache_size: 1GB
postgres_effective_cache_size: 3GB
- { role: matrix, tags: ['matrix'] }
......@@ -15,7 +15,7 @@ WorkingDirectory=~
ExecStart=/var/lib/synapse/venv/bin/python -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
SyslogIdentifier=synapse
Environment=SYNAPSE_CACHE_FACTOR=0.5
Environment=SYNAPSE_CACHE_FACTOR=1.0
Environment=LD_PRELOAD=/usr/lib/libjemalloc.so
[Install]
......
......@@ -87,7 +87,7 @@ resource "hcloud_rdns" "matrix" {
resource "hcloud_server" "matrix" {
name = "matrix.archlinux.org"
image = data.hcloud_image.archlinux.id
server_type = "cx21"
server_type = "cpx31"
lifecycle {
ignore_changes = [image]
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment