Reduce mastodon streaming threads and run 1 thread per core
This commit is contained in:
parent
9b69b419a7
commit
406d9dbf09
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue