Reduce mastodon streaming threads and run 1 thread per core

This commit is contained in:
Jake Howard 2022-11-20 23:00:58 +00:00
parent 9b69b419a7
commit 406d9dbf09
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -18,9 +18,9 @@ services:
- TRUSTED_PROXY_IP=172.20.0.1 - TRUSTED_PROXY_IP=172.20.0.1
- SINGLE_USER_MODE=true - SINGLE_USER_MODE=true
- DEFAULT_LOCALE=en - DEFAULT_LOCALE=en
- STREAMING_CLUSTER_NUM=2 - STREAMING_CLUSTER_NUM=1
- WEB_CONCURRENCY=2 - WEB_CONCURRENCY=2
- MAX_THREADS=4 - MAX_THREADS={{ ansible_processor_nproc }}
- HTTP_PROXY={{ pve_hosts.qbittorrent.ip }}:3128 - HTTP_PROXY={{ pve_hosts.qbittorrent.ip }}:3128
- HTTPS_PROXY={{ pve_hosts.qbittorrent.ip }}:3128 - HTTPS_PROXY={{ pve_hosts.qbittorrent.ip }}:3128
restart: unless-stopped restart: unless-stopped