From a718861c7672c0436810b105dfdb9e7d3bf7f3da Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Sat, 8 Mar 2025 17:06:15 -0600 Subject: [PATCH] Streaming works :) --- docker/uwsgi.ts_proxy.ini | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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