diff --git a/docker/uwsgi.ts_proxy.ini b/docker/uwsgi.ts_proxy.ini index c13b5c22..f73b0dae 100644 --- a/docker/uwsgi.ts_proxy.ini +++ b/docker/uwsgi.ts_proxy.ini @@ -4,14 +4,19 @@ chdir = /app virtualenv = /dispatcharrpy env = DJANGO_SETTINGS_MODULE=dispatcharr.settings -# TS Proxy specific - SINGLE PROCESS, NO WORKERS +# TS Proxy specific - SINGLE PROCESS with async handling master = true module = dispatcharr.wsgi:application processes = 1 workers = 1 -threads = 10 +threads = 2 enable-threads = true +# Add these async settings to handle many more connections +gevent = 100 +async = 100 +ugreen = true + # Listen on a dedicated port http = 0.0.0.0:5657 http-keepalive = 1